JNI delphi

P

Patrice

Hi, I'm creating a program in delphi that launch and restart a java
application with some parameters.

Du to the problem with System.exit that kill the delphi program I
disactivated it. But, I have some problem with the memory when a I
relaunch the java application, the memory increases each time.

Can someone tell me how the free the memory, note that the
DestroyJavaVM doesn't work !!

Does JNI work correctly with Delphi or Not ?!!!

Patrice
 
S

Stefan Schulz

Can someone tell me how the free the memory, note that the
DestroyJavaVM doesn't work !!

Does JNI work correctly with Delphi or Not ?!!!

This does not seem to be a Delphi Problem per se. You probably want to
unload the JVM, which is not supported. You can bring it down using
DestroyJavaVM, but you can not eradicate all traces of it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top