 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
sahar Guest
|
Posted: Mon Dec 11, 2006 9:13 am Post subject: Deployment Error |
|
|
Hi Every Body
I'm using JBuilder 2005 with Jdk 1.5.
i have a large application which use large Libraries!
I want to deploy my application and make a jar file .
I did it before without problem(except that it takes long time to create my
archives) .
but now i have a problem . i installed .Net Framework 2.0 on my system.
after that whenever i want to make large archive files , it will takes more
times to create the archive. it this state JBuilder uses more & more Memory
and at last i'll get java.lang.outofMemory Exception!!!! I increase my
memory to 2 GB but it doesn't work. after getting this error , JBuilder
doesn't Free all the memory it took before and i have to close JBuilder to
Free My Memory. I removed .net and my JBuilder , my JRE and reinstall JRE
and JBuilder , but i have still this problem.
I think its not JBuilder problem, its probably JDK or JRE problem but i
can't solve this problem, can you describe me what happen? how can i solve
the problem?
I think memory consumption in JAVA is MORE THAN BIG PROBLEM!!!!!!!!!!!
sahar |
|
| Back to top |
|
 |
Paul Nichols [TeamB] Guest
|
Posted: Thu Dec 14, 2006 9:13 am Post subject: Re: Deployment Error |
|
|
sahar wrote:
| Quote: | Hi Every Body
I'm using JBuilder 2005 with Jdk 1.5.
i have a large application which use large Libraries!
I want to deploy my application and make a jar file .
I did it before without problem(except that it takes long time to create my
archives) .
but now i have a problem . i installed .Net Framework 2.0 on my system.
after that whenever i want to make large archive files , it will takes more
times to create the archive. it this state JBuilder uses more & more Memory
and at last i'll get java.lang.outofMemory Exception!!!! I increase my
memory to 2 GB but it doesn't work. after getting this error , JBuilder
doesn't Free all the memory it took before and i have to close JBuilder to
Free My Memory. I removed .net and my JBuilder , my JRE and reinstall JRE
and JBuilder , but i have still this problem.
I think its not JBuilder problem, its probably JDK or JRE problem but i
can't solve this problem, can you describe me what happen? how can i solve
the problem?
I think memory consumption in JAVA is MORE THAN BIG PROBLEM!!!!!!!!!!!
sahar
If you have an unusually large project. you may be running out of heap |
space. Fortunately, you can custom tune the jvm heap space and the
hotspot jit for programs (including JBuilder).
You will find the settings in the jbuilder.config file, under your bin
folder.
Depending on the amount of ram you have, try settings that will run your
project appropriately
Look for
vmparam -Xms32m // set it to 96m then 128m
vmparam -Xmx256m //try setting this to 312m and increments of 64m
That should take care of your problems. Of course, make sure that you
shutdown and restart JBuilder each time you reset the config file. Not a
bad idea to make a backup of the original before you begin either. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|