-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alternative solutions to infinities problem other than smaller step size or -neuron #49
Comments
Unfortunately modifying the numerical integration of jLEMS would require a deep dive into the code... If you need to increase the memory you can change the environment variable JNML_MAX_MEMORY and that will give java more mem when it's run (try half your total RAM). There should be an option to save fewer points (than one each time step), but this is more likely to happen soonish in the Neuron export. |
I could take a look at the n. integration code. Has there been any discussion on the best/simplest solution to this problem? The other issue is that if we modify the ni code, it could affect values for all other sims, triggering failed tests, etc... I can think of the following simple scheme, which would not affect currently-non-crashing simulations, but would probably result in differences with other simulators, depending on how they handle this problem: Conditional local-subsampling via halving of the time step:
|
I have a LEMS simulation file that:
Problem while trying to return a value for variable fcond: Infinity
errorsjava.lang.OutOfMemoryError: Java heap space
, or multi-gigabyte output files, or very long simulation times.It seems that the problem is that in a few small portions of the simulation window, the derivatives/eval results are outside machine-representable range.
What would be the simplest modification to the jnml euler method to handle infinities better?
The text was updated successfully, but these errors were encountered: