G'day Andre,
I'm not sure how JabRef is launched on a Mac (Does it come with a wrapper script which executes the .jar file? or do you run the .jar file yourself?) At any rate, this page gives the syntax for setting the heaps size when you run a Java app (http://hausheer.osola.com/docs/5). Apologies, I tried to find a more official webpage, but this kept coming up as the first hit on google.

java -Xms<initial heap size>  -Xmx<maximum heap size>  -jar jabref.jar

e.g.
java -Xms128m -Xmx1028m -jar jabref.jar


You can probably just put that in some sort of wrapper script, so you can run ./jabref.sh instead.
Hope that helps.

cheers,
pete.

On 18/04/11 04:08, André Sartori wrote:
Dear jabref users,

I am running JabRef 2.6 under Windows XP and Mac OS X 10.4.11 (Tiger).
Bibtex databases work fine in both computers with up to 14,000 entries
(approximately 185,000 lines). However, I am now working on a project
that requires more than 20,000 entries (approximately 280,000 lines).
The database for this project opens fine in the machine running
Windows XP, but under Mac OS X 10.4.11, JabRef seems to run out of
memory. The error issued reads:

Cannot launch Java application
Uncaught exception in main method:
java.lang.OutOfMemoryError: Java heap space

How can I solve this problem? Would it be possible to increase the
amount of memory allocated to JabRef under Mac OS X 10.4.11?

Any ideas will be greatly appreciated. Thank you!
Best,
André

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Jabref-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jabref-users

Reply via email to