(Answer) (Category) FAQ-O-Matic : (Category) JBuilder 4 General :
JBuilder 4 must have a memory leak. It consumes a lot more ram than specified in the -X parameters in JBuilder.config, and eventually it produces an 'out of memory' error and terminates.

This would be a bug in the JVM bundled with JBuilder 4. See this entry on Sun's Bug Parade for details and status:

http://developer.java.sun.com/developer/bugParade/bugs/4395735.html

Known workarounds:

  1. Disable HotSpot. This may cause some slight reduction in JBuilder's performance but should eliminate the memory leak.

    1. Edit jbuilder4/bin/JBuilder.config and add the line:
      vmparam=-classic
    2. Restart JBuilder.
  2. Replace Sun's 1.3.0 with IBM's 1.3.0 or better. (This is not a supported configuration.)
    1. Install IBM's 1.3.0 (perferably in a different location than the existing JDK.)
    2. Edit jbuilder4/bin/jdk.config and replace all references to Sun's JDK with the corresponding locations in IBM's JDK install tree.
    3. Restart JBuilder.
  3. If your own applications experience out-of-memory errors while running, open "Project Properties | Run | VMParameters" and add "-classic" to the list of parameters applied to the application's launch command. This should prevent the problem when running within JBuilder.

2001-Jun-04 11:58am gyles19@visi.com
[Append to This Answer]
2001-Jun-04 12:47pm
Previous: (Answer) I just installed JBuilder 4.0 Foundation but there are no on-line help, samples, or tutorials. What's the deal?
Next: (Answer) I have a Tomcat project which won't execute. I'm getting this error: Context log: path="" Adding context path="" docBase="C:\" Starting tomcat install="C:\" home="C:\"
This document is: http://www.visi.com/~gyles19/cgi-bin/fom.cgi?file=186
[Search] [Appearance]
This is a Faq-O-Matic 2.709.
This FAQ administered by gyles19@visi.com.

Other JBuilder Links

Java Community
Java Tools
Code Central
JB OpenTools
Community
Recent
Threads
Borland Chat
Chat FAQ
Feature Matrices
3.0 |  3.5 |  4.0
5.0 |  6.0 |  7.0
Shop for
JBuilder
JBuilder
Downloads
and reg keys
Report Piracy
Online Manuals
4.0 |  5.0 |  6.0
7.0
Borland
DevSupport's
Bug/RFE Form

Quality Central Client
JB Patches &
Updates
JBuilder FAQs TIs
JBuilder
Newsgroups
Tamaracka's
News Archive
Mr. Haki's
JBuilder Machine
JGuru's
JBuilder FAQ
Sun's Bug
Parade
Netring Home - About - Privacy
The
JBuilder Netring Logo
The Borland JBuilder Netring by JBuilder FAQ-O-Matic
[ Join Now | List Sites | Random | << Prev | Next >> ]
[ Previous 5 Sites | Skip Previous | Skip Next | Next 5 Sites ]