Items tagged with memory memory Tagged Items Feed

Hello everybody,

 

I have to solve a non linear equation using a numerical method. I use a loop after each iteration, Maple keep the results in memory instead of release their in variable. So calculation time is very long and the memory goes up.

Could you help me to improve the calculation time ? In fact, I would like to store results in a list and maple erases each intermediate results.

 

Thank a lot

 

 

[carré]NewmarkAlgo2FCzAlp.mw

Hi,

I have a code which stores large amount of intermediate data.

Ones the data has been used i unassign the variables storing the data and perform garbage collection. But memory is not returned to the operating system for reallocation.

can somebody please tell me how to release memory back to os so that task manager shows memory release (without doing the maple server reset).

And i dont understand the purpose of stupid gc if it is not returning memory back to the windows?

Hi Mapleprimers,

I was wondering if there way a way to use restart(); and clear Maple's memory, but protect the memory in a certain variable?  I would like to return the memory to the operating system, but keep a symholic function in memory.

Alternatively, is there a way to save a symbolic function to a file, then reload it at a seperate time?

 

I'm running a long loop with a lot of variables. I have noticed that Maple does not seem to clear its memory after each loop iteration, which results in very large memory used after all the iterations. I can't use restart because I need a few variables to be remembered throughout the loop for analysis afterwards. So the question is how to clear the memory for selective variables and procedures at the end of each iteration.

I've found the following project: http://www.parallella.org/

It is a very cheap but impressive computer ( 64-cores, they say it gives about 90 GFLOPS of computing power). The problem is the very limited amount of memory (1GB). See: http://www.parallella.org/board/ for specifications.

Now my question is: do you think Maple will run on this machine (acoording to the site it will run Ubuntu) and if so then does it make sense to try it given the small amount of memory it has? Or in another words: do there exist problems that could be solved by Maple on this powerful machine and that cannot be solved on a regular machine with let's say 4GB of RAM?

Hi,

I need to solve following problem, but i m facing memory allocation problem in code. I dont know where memory is consuming.

Download nonlinearx.mw

Thanx in advance.

Regards

Sunit

 I have a system of 4 rational equations involving 6 variables. I want to solve this system for 4 variables. 


Whenver I try to do this I get either an error message about solutions being lost, or maple being unable to allocate enough memory.

The Commands involved are here: 

 

Hi,

     Seems like a silly questionm but the Maple help page suggested usign the option 'interpolation=false' for a numeric dsolve since I ran out of memory (I'm solving a huge matrix DE). But that's not an option in the command dsolve, has this been removed as of Maple 16? Or any suggestions on using less memory? I have 16Gb RAM, 

 

Thanks

I often have to create density plots with many (thousands of) points. Hence the first thing I do when I install a new version of maple on linux, is edit dir_of_maple/bin/maple so that

JAVAHEAP=512

is instead

JAVAHEAP=4096

I have done this for years and never have any memory problems. But recently I have sent my code to someone who runs Windows and they seem to have "out of memory" issues when trying to do density plots of large datasets.

Hello,

I've written a code that I'd ultimately like to process in parallel over a grid of parameters, but before I can even think of doing that, I need to find a workaround for the memory allocation issues I'm having. Probably due to the way that it's written, Maple's built in garbage collection isn't working very well (if at all), and the code allocates another 100 MB or so every 10,000 iterations. Even if I content myself with running it for say 200,000 iterations,...

I am trying to solve a square polynomial system (16 x 16, I was able to solve an 8 x 8 fine) using the package RegularChains (with Groebner bases the problem is the same) but I have a memory constraint of 4G in the Linux cluster and my batch job gets terminated after Maple grabs too much memory:

TERM_MEMLIMIT; (job*killed*after*reaching*LSF*memory*usage*limit.Exited, with, true)*(File*size*limit*exceeded.Resource, usage, true)*summary; CPU*time;(4509.00*sec.Max, Memory, true...

Dear Friends.   I solve a group of linear equations and the memory is not enough and i can't 
adding a new hardware to the computer.

i increase the virtual memory of the computer from some chose for the operating system 
but it seem to me the Maple use the memory from the hardware only.

I want to know is there any method to make the Maple using the virtual memory for 
the computer

Amr

Hi,

 

is there any analogous command to whos in Matlab to list the memory usage of specific variables in workspace?

Thanks!

Bye

Tom

I'm using maple 14 on a win7 2.8gHz 4gb laptop and over the past 2 days my maple has fallen appart, i'm trying to print a worksheet that is only 5 pages and not especialy complicated but maple's memeroy usage is exploding up to 400mb, or 1.3gb if i actually run the code. I need to print the work sheet and it just spent half an hour "spooling" i don't know what is causing maple to go haywire

Dear friends

I solve a rectangular system of equations AX=B   where A from order 3m+1x2m      X from order 2mx1       B from order (3m+1)x1   where  m=400, by LeastSquare or by multiply by A^T  

A^T*A*X=A^T*X

let M=A^T*A

then     M*X=A^T*X                 finally               X=M^-1 * A^T*X

1 2 3 4 Page 1 of 4