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 / First Aid / June 2005

Tip: Looking for answers? Try searching our database.

JNI memory usage: what process?

Thread view: 
Alex Hunsley - 21 Jun 2005 12:58 GMT
Can anyone tell me under what process any memory taken up by JNI will
appear as? (Under windows in this case)
I have a java application which uses native code via JNI, and on windows
it runs fine, stabilising at a heap allocation 13megs, but under linux
(FC) the java process ends up with a heap size of approx 300megs before
dying with a java.lang.OutOfMemoryError.

cheers
alex
Gordon Beaton - 21 Jun 2005 18:29 GMT
> Can anyone tell me under what process any memory taken up by JNI
> will appear as? (Under windows in this case)

The same process as your java application, of course.

> I have a java application which uses native code via JNI, and on
> windows it runs fine, stabilising at a heap allocation 13megs, but
> under linux (FC) the java process ends up with a heap size of approx
> 300megs before dying with a java.lang.OutOfMemoryError.

You describe a problem on linux, but ask about windows?

/gordon

Signature

[  do not email me copies of your followups  ]
g o r d o n + n e w s @  b a l d e r 1 3 . s e



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



©2008 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.