Out of memory: 'Calloc' could not allocate memory (50000000 of 544 bytes) #243
Replies: 5 comments 6 replies
-
@namtien0312 , I am not certain if there is a way to reduce the memory usage for the integration steps within rxode2. The system does use many times more memory during the process than are output in the final data frame. All of the intermediate calculations take much more space than the final stored result. But, there are several work-arounds that you can consider:
|
Beta Was this translation helpful? Give feedback.
-
You can also try the development version of devtools::install_github("nlmixr2/rxode2") |
Beta Was this translation helpful? Give feedback.
-
I am transferring this to a discussion. |
Beta Was this translation helpful? Give feedback.
-
Thank you two for the time to consider my case.
In my case, the target is AUC, so I need the necessary points to approximate the integral (as you described, 0.1) at a steady state (I have set ss = 1).
As you can see in my |
Beta Was this translation helpful? Give feedback.
-
By the way, If I used My
|
Beta Was this translation helpful? Give feedback.
-
Dear Dr @mattfidler and
nlmixr/RxODE
team,When I used
nSub = 500, nStud = 50, cores = 4
inrxSolve
function, I got adataframe
of194402216 bytes
viaobject.size(my_df)
.When I used
nStud = 100, cores = 4
instead, I got an error:And
error: cannot allocate vector of size 17.0 mb
whennStud = 55
.When I incresed R memory by
memory.limit(size = 20000)
, it have not worked.My computer's RAM is 8 GB. How can I solve this issue by modifying some code rather than dealing with hardware? Thank you for your help!
My session info:
Beta Was this translation helpful? Give feedback.
All reactions