TBCFree: Could not create the Java Virtual Machine error (memory issues)

184 views
Skip to first unread message

osma.s...@helsinki.fi

unread,
Mar 28, 2014, 3:26:02 AM3/28/14
to topbrai...@googlegroups.com
Hi!

I'm trying out TBC Free edition 4.4.0 under a 32 bit Windows 7 virtual machine with 1GB RAM. I've previously used TBC Standard 4.3.0 in this same VM so I know TBC works in this environment, which I use for testing Windows applications (I use Linux myself).

After unzipping the distribution package and trying to start TopBraid Composer, I get this error dialog:

Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

A separate error dialog says:
Java was started but returned exit code=1
[...lots of debug output including the Java settings]

I traced this problem to memory issues. It seems that in 4.4.0 the Java memory settings have been increased. I took the working memory settings from 4.3.0 and changed these parameters in TopBraid Composer.ini:
-Xmx512M (was: 2048M)
-Xms256M (was: 640M)

After this change, I can at least start up TBC Free. However, it seems to change back the .ini file settings when I run it once, so it will not work another time.

Is this intended behavior, should I just add more RAM? Is the apparent hike in memory requirements documented somewhere?

Thanks,
Osma

Mark Graham

unread,
Mar 28, 2014, 8:13:17 AM3/28/14
to topbrai...@googlegroups.com
Hi Osma. You will want at least 2G.
You will see two topbraid composer ini files. One will have an extension if orig. make the xmx change there as well. Then restart the application. This should resolve this for you. 


Thanks,
Mark

Sent from my iPhone
--
-- You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid Insight, SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to
topbrai...@googlegroups.com
To unsubscribe from this group, send email to
topbraid-user...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en
---
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Osma Suominen

unread,
Mar 28, 2014, 8:23:33 AM3/28/14
to topbrai...@googlegroups.com
Thanks Mark!

It's OK, I can easily increase the memory for my VM. I'm just curious
because some of the users I need to support may have old machines with
low memory. At least now I know that I need to adjust the orig file as well.

Osma

On 28/03/14 14:13, Mark Graham wrote:
> Hi Osma. You will want at least 2G.
> You will see two topbraid composer ini files. One will have an extension
> if orig. make the xmx change there as well. Then restart the
> application. This should resolve this for you.
>
>
> Thanks,
> Mark
>
> Sent from my iPhone
>
> On Mar 28, 2014, at 3:26 AM, "osma.s...@helsinki.fi
> <mailto:osma.s...@helsinki.fi>" <osma.s...@helsinki.fi
>> topbrai...@googlegroups.com <mailto:topbrai...@googlegroups.com>
>> To unsubscribe from this group, send email to
>> topbraid-user...@googlegroups.com
>> <mailto:topbraid-user...@googlegroups.com>
>> For more options, visit this group at
>> http://groups.google.com/group/topbraid-users?hl=en
>> ---
>> You received this message because you are subscribed to the Google
>> Groups "TopBraid Suite Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send
>> an email to topbraid-user...@googlegroups.com
>> <mailto:topbraid-user...@googlegroups.com>.
>> For more options, visit https://groups.google.com/d/optout.
>
> --
> -- You received this message because you are subscribed to the Google
> Group "TopBraid Suite Users", the topics of which include Enterprise
> Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid
> Insight, SPARQLMotion, SPARQL Web Pages and SPIN.
> To post to this group, send email to
> topbrai...@googlegroups.com
> To unsubscribe from this group, send email to
> topbraid-user...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/topbraid-users?hl=en
> ---
> You received this message because you are subscribed to the Google
> Groups "TopBraid Suite Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to topbraid-user...@googlegroups.com
> <mailto:topbraid-user...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.


--
Osma Suominen
D.Sc. (Tech), Information Systems Specialist
National Library of Finland
P.O. Box 26 (Teollisuuskatu 23)
00014 HELSINGIN YLIOPISTO
Tel. +358 50 3199529
osma.s...@helsinki.fi
http://www.nationallibrary.fi
Reply all
Reply to author
Forward
0 new messages