Re: [flexcoders] Flash Builder 4 java heap space error.

2010-04-29 Thread Oleg Sivokon
It is possible that Flash Builder ignores the global JVM settings, there may
be per Eclipse, or builder's own settings (sorry, in such case I'm not sure
where to look for them). However you can try to compile with Ant +
flexTask.jar Ant plugin to prove the problem is there. You can increase the
memory size for Ant or, I think ant tasks should understand this parameter:

Ant options (example):

ANT_OPTS=-Xmx5120M

You would either have to set this option before running ant, or make it
an environmental variable.

target name=compile-my-swf

mxmlc file=my.mxml

output=my.swf

static-link-runtime-shared-libraries=true

default-background-color=#FF

default-frame-rate=30

jvmarg line=-Xms64m -Xmx384m/

/mxmlc

/target


RE: [flexcoders] Flash Builder 4 java heap space error.

2010-04-28 Thread Christopher McArthur
Thanks for the detials.

 

Unfortuantely, Ive increased the numbers a great deal, tried a variety
of different values, and read through the nice page you linked, and I am
*still* getting the errors.  And not just me, my entire development team
on a large variety of hardware.

 

Any suggestions on what our next steps should be?

 

-ctm

 

 

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Oleg Sivokon
Sent: Tuesday, April 27, 2010 1:01 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flash Builder 4 java heap space error.

 

  

Increase JVM memory

 

-Xms Am -Xmx Bm

 

(A is the initial memory size B is the maximum size in megabytes)

you may do this globally in jvm configuration file, or per application
run. I even think that MXMLC will accept -jvmargs parameter to pass
arguments to jvm before it starts (MXMLC exe is a launcher, that
launches the mxmlc.jar).

More here:

http://www.caucho.com/resin-3.0/performance/jvm-tuning.xtp



Reply to sender
mailto:olegsivo...@gmail.com?subject=re:%20[flexcoders]%20Flash%20Build
er%204%20  | Reply to group
mailto:flexcod...@yahoogroups.com?subject=re:%20[flexcoders]%20Flash%20
Builder%204%20  | Reply via web post
http://groups.yahoo.com/group/flexcoders/post;_ylc=X3oDMTJzNjRuaWE3BF9T
Azk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRtc2dJZAMxNTUx
NDcEc2VjA2Z0cgRzbGsDcnBseQRzdGltZQMxMjcyMzk4NDk5?act=replymessageNum=15
5147  | Start a New Topic
http://groups.yahoo.com/group/flexcoders/post;_ylc=X3oDMTJmNWlpaWxxBF9T
Azk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNs
awNudHBjBHN0aW1lAzEyNzIzOTg0OTk-  

Messages in this topic
http://groups.yahoo.com/group/flexcoders/message/155144;_ylc=X3oDMTM5NW
1hZWM0BF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRtc2
dJZAMxNTUxNDcEc2VjA2Z0cgRzbGsDdnRwYwRzdGltZQMxMjcyMzk4NDk5BHRwY0lkAzE1NT
E0NA--  (2) 

 



Re: [flexcoders] Flash Builder 4 java heap space error.

2010-04-27 Thread Oleg Sivokon
Increase JVM memory

*-Xms Am -Xmx Bm*
*
*
(A is the initial memory size B is the maximum size in megabytes)
you may do this globally in jvm configuration file, or per application run.
I even think that MXMLC will accept -jvmargs parameter to pass arguments to
jvm before it starts (MXMLC exe is a launcher, that launches the mxmlc.jar).
More here:
http://www.caucho.com/resin-3.0/performance/jvm-tuning.xtp