-
Notifications
You must be signed in to change notification settings - Fork 3
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
Segfault while fitting two-compartment model #241
Comments
Thank you @billdenney for the backtrace. Unfortunately it doesn't show anything from |
Can you give a reproducible example by simulating a dataset with similar nominal times...? I can't spot |
Wait, I guess it is |
If it helps, I don't get the crash with focei. |
You probably wouldn't get the crash with
|
In theory using #242 will either fix the issue or give a better back-trace about why it is happening. |
I merged it so you can check against |
Here is the updated backtrace from
|
This is basically saying it ran out of memory. You can try: gc()
rxUnloadAll() And removing anything un-necessary from your R memory before trying this. I wish I knew a way to catch the memory issue earlier... This is what I did to make the fix for #199 |
Running out of memory is surprising here. It's a 2-compartment IV PK model with normal CL/V/Q/VP parameterization and about 100 individuals with mostly sparse sampling (1-2 samples per animal), and the system has 32GB of RAM. |
That is true, but it is the |
I can be triggered by |
So it could be the recursion depth is too great. |
Probably the recursion depth as measured by |
I cannot reproduce this now. I'll close and open a new issue if I am able to reproduce it. |
I was fitting a 2-compartment model with ODEs. The model I'm fitting is pretty standard:
And, the estimation is pretty simple saem:
The text was updated successfully, but these errors were encountered: