开发者

Building an AIR application with ANT

开发者 https://www.devze.com 2022-12-26 16:13 出处:网络
I keep getting \"Java Heap Space\" error. What is the JVM Memo开发者_开发知识库ry requirements to build AIR apps with ant?Found a solution. In the mxmlc task (or any others), make sure to set fork to

I keep getting "Java Heap Space" error. What is the JVM Memo开发者_开发知识库ry requirements to build AIR apps with ant?


Found a solution. In the mxmlc task (or any others), make sure to set fork to true and maxmemory to at least 512m, such as:

The fork starts a new thread so the memory isn't shared. And the maxmemory let's the JVM know how much memory it can use.

0

精彩评论

暂无评论...
验证码 换一张
取 消