BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Deployment Error

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Deployment
View previous topic :: View next topic  
Author Message
sahar
Guest





PostPosted: Mon Dec 11, 2006 9:13 am    Post subject: Deployment Error Reply with 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
Back to top
Paul Nichols [TeamB]
Guest





PostPosted: Thu Dec 14, 2006 9:13 am    Post subject: Re: Deployment Error Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Deployment All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.