Hi all, (sorry for this loooong first post :) )
- I need to do a Monte-Carlo simulation (Virtuoso 6.1.5) for a RF circuit with N runs for different combinaisons of parameters (voltages V1 to V4)
- For each of the 256 combinaisons I want to run a Monte-Carlo to evaluate 4 different parameters (like gain, linearity... Perf1 to Perf4) for each iteration ( N*256 runs totally)
- For each iteration of this Monte-Carlo I want to store the data into a .csv file like this:
- I did a script in OCEAN XL which is basically a loop in which I create a Monte-carlo script with the right parameters, run it and write the results into a .csv file
for each combinaison(
write MC Run (with good parameters)
Perform MC Run
write Results into the csv file()
Everything works fine (the MC is done with good parameters, results are well-written)
The problem is the following:
After approx. 50 or 60 of the 256 combinaisons a memory warning appears saying than my RAM available is low. The memory continues to go down until the simulation crashes by lack of RAM memory. I run Cadence on a 24GB-RAM server (shared with other users) so I guess than the issue is in my script because I did not have any problems before...
How can I be sure than after eah iteration of the loop (MC+writing results) my MC run is deleted from RAM memory?
Leaving a file open for all the simulation process is it "RAM-consuming"?
What can be the problem?
If someone has an idea it would be very helpfull...