Code Monkey home page Code Monkey logo

Comments (2)

BlurryLight avatar BlurryLight commented on August 24, 2024 1

可以在JSEnvImpl的构造函数里自己加参数吧,V8::SetFlagsFromString("--max_semi_space_size=128");
但是这个和node面对的场景差别挺大的,node在服务端上有充足的内存可以用,虚幻在移动端上内存还是有点吃紧的(尤其是iPhone)

from puerts.

chexiongsheng avatar chexiongsheng commented on August 24, 2024

UE针对虚拟机实例可以在FJsEnv的构造那传参数--max-old-space-size=2048,表示设置为2G。其它设置或者全局设置可以用@BlurryLight 说的方式设置。

Unity修改Plugin的代码,你搜索下--jitless的,看这个怎么设置就可以了。

V8有什么参数设置可以看它的文档

from puerts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.