Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / July 2007

Tip: Looking for answers? Try searching our database.

Using Java on Solaris

Thread view: 
rlanier@harris.com - 18 Jul 2007 19:15 GMT
Hi,

I am using a Java appliction on Solaris 9 and am having trouble. The
application is Electric VLSI program, and all was working properly
until I increased the JVM space (whenver I would load an example
circuit, the tool would say it was out of heap space on the terminal
window). Now, however, java refuses to come up and sends this message
to the command line:

Setting maximum permanent space (2nd GC) to 1000MEG

I've tried setting the heap space manually using -Xms and -Xmx
options, but the above problem still persists.

Has anyone seen this, and do you know how to get around it?

Thanks.
Patricia Shanahan - 18 Jul 2007 19:42 GMT
> Hi,
>
[quoted text clipped - 13 lines]
>
> Thanks.

Java on Solaris 9 can run in 32 bit or 64 bit mode. Which are you using?

Patricia
Lothar Kimmeringer - 18 Jul 2007 21:51 GMT
> I've tried setting the heap space manually using -Xms and -Xmx
> options, but the above problem still persists.

How exactly are you setting this. Can you post all the messages
that are coming up? The limit on 32 Bit Virtual Machines is
ca. 1500 MB, so setting a higher value will be ignored or
refused.

Please don't multipost. It's consuming bandwith and let people
get pissed.

Regards, Lothar
Signature

Lothar Kimmeringer                E-Mail: spamfang@kimmeringer.de
              PGP-encrypted mails preferred (Key-ID: 0x8BC3CD81)

Always remember: The answer is forty-two, there can only be wrong
                questions!

Nigel Wade - 19 Jul 2007 10:59 GMT
>> I've tried setting the heap space manually using -Xms and -Xmx
>> options, but the above problem still persists.
[quoted text clipped - 3 lines]
> ca. 1500 MB, so setting a higher value will be ignored or
> refused.

It's not a limitation of the 32bit JVM but the OS. On my 32bit Linux desktop I
can set heap up to -Xmx2500m (this system has 1G RAM and 2G swap), on another
Linux system (64bit, but running the 32bit JVM) I can run java with -Xmx3600m
(that system has 32G RAM). The VM address limit for 32bit should be 4GB.

I haven't tried it on Solaris (the only Solaris system I have has nowhere near
that amount of VM), and the message the OP posted is rather strange - I've
never seen Java refer to memory in MEG before.

> Please don't multipost. It's consuming bandwith and let people
> get pissed.

Yes. It is very annoying if you have taken the time and effort to answer a post
in one NG, only to find that someone else has already posted pretty much the
same answer in another thread in an alternate NG.

Cross-post if you must, but don't multi-post.

Signature

Nigel Wade, System Administrator, Space Plasma Physics Group,
           University of Leicester, Leicester, LE1 7RH, UK
E-mail :    nmw@ion.le.ac.uk
Phone :     +44 (0)116 2523548, Fax : +44 (0)116 2523555



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.