JNI memory usage: what process?



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 .



Relevant Pages

  • Re: [JNI] Catch Ctrl+Mouseclick on Windows?
    ... > of how to create my the .dll and do the communication with java. ... I did this kind of JNI programm. ... Under Windows, i use the GetAsyncKeyState functiun but it's not obvious ...
    (comp.lang.java.programmer)
  • Re: Mit einem Java Applet die Taskleiste blinken lassen?
    ... dass Java keine Taskleiste voraussetzen kann. ... Du müsstest also wenn überhaupt über JNI das Win-API ansprechen, aber wie und ob Applets mit JNI arbeiten, weiss ich nicht. ... Aber bei allen Versuchen, durch solche Spielchen Aufmerksamkeit zu erregen sollte man nicht vergessen, dass solche Apps ungeheuer nerven, insbesondere dann, wenn man mit Windows arbeiten muss. ...
    (de.comp.lang.java)
  • Re: File.lastModified *extremely* slow ?
    ... > similar Delphi application (the one I'm porting to Java) needs about ... When scanning for files in Delphi, ... and I would rather not resort to platform-specific JNI ... If the main problem only occurs on Windows (as Sudsy's post indicates that it ...
    (comp.lang.java.programmer)
  • Re: JNI memory usage: what process?
    ... (Under windows in this case) ... The same process as your java application, ... > windows it runs fine, stabilising at a heap allocation 13megs, but ... You describe a problem on linux, ...
    (comp.lang.java.help)
  • Re: [JNI] Catch Ctrl+Mouseclick on Windows?
    ... > not the case i think it is only possible using JNI. ... > of how to create my the .dll and do the communication with java. ... I would write a windows interface in C/C++ and run the java ...
    (comp.lang.java.programmer)