On 10 fev, 00:12, "Giancarlo Faccio" <[EMAIL PROTECTED]> wrote:
> Boa noite,
> desde que começei a mexer com o flex builder, venho tendo problemas
> com o tal dojavaw.
> O que acontece é que, cada vez que eu salvo os meus arquivos do
> projeto oJavaw.exe consome mais e mais memória, mas não libera
> nenhuma. Então quando o processo chega lá pelos seus 200, a 300 mega
> um erro é mostrado e o Flex é encerrado. Procurei bastante mas não
> consegui encontrar uma solução. Acho que vou tentar programar só no
> código mesmo.
> Alguém ai já passou por isso?
------------------------------------------------------------------------------------------------------------------
Flex Builder running slow or hang, or get "out of Memory" message
Flex Builder will consuming memory over times, especially when you
have a
lot of projects created in FB. You can monitor the memory usage of FB
from
windows task manager. Look at the javaw.exe process, the above
mentioned
problems usually happens when the memory usage of javaw.exe is too
height.
You can close and restart the FB to clean up the memory.
By default, FB set the heap size for Java virtual machine in
FlexBuilder.ini
as following:
-vmargs
-Xms256M
-Xmx512M
If you exceed the maximum value, "OutOfMemory" errors can occur.
If your system has more total memory available, then you can increase
the
maximum heap size value. The rule of thumb used to be set the maximum
heap
size no more than half of the total memory available. However, with
the new
features and settings in the newer version of JDK, there are more
factors
you need to consider when deciding what is the best maximum heap size
you
can use. You can consult articles about heap size online.
To change the heap size settings, you can modify them in
FlexBuilder.ini
under the FB root directory.
If you start FB by command line (or using Eclipse), then you can
change them
by command line (or FB2 shortcut) such as "C:\Program Files\Adobe
\Flex
Builder 2 Beta 1\FlexBuilder.exe" -vmargs -Xms256M -Xmx512M
-----------------------------------------------------------------
Como deu pra observar, parece que o problema é nativo do Flex mesmo..
ou
melhor.. do Eclipse.
--~--~---------~--~----~------------~-------~--~----~
Você recebeu esta mensagem porque está inscrito na lista "flexdev"
Para enviar uma mensagem, envie um e-mail para [email protected]
Para sair da lista, envie um email em branco para [EMAIL PROTECTED]
Mais opções estão disponíveis em http://groups.google.com/group/flexdev
-~----------~----~----~----~------~----~------~--~---