bd2kccd / py-causal

Other
204 stars 50 forks source link

Bug #16

Closed rubencmu closed 7 years ago

rubencmu commented 7 years ago

Hi, also from the CCD help desk they report the next bug using py-causal.

"BTW, there's some bugs in stop_vm/start_vm, as in you can't stop and restart to clear memory."

Any ideas ?

Thanks

Ruben

chirayukong commented 7 years ago

That's a bug from the Javabridge project. I'll check with them about it.

chirayukong commented 7 years ago

@LeeKamentsky how should we clear memory on the java-bridge? It seems stop_vm/start_vm doesn't make the thing.

LeeKamentsky commented 7 years ago

This is a problem with the Java JVM. It can be started at most one time per process. Unfortunately, you can't shut the Javabridge down and then restart it again - you'll have to figure out how to handle its lifetime so that it starts at most once and shuts down at the end of the process.

Sorry that I can't give you a more helpful answer, but it's not under my control.

rubencmu commented 7 years ago

Thanks @LeeKamentsky. I will paste your answer to the user at the help desk.

Ruben