Out of memory
Author: gwrowe
Creation Date: 11/10/2008 10:58 AM
profile picture

gwrowe

#1
I have written a script based on a SMA. Before actually generating the SMA curve, I run a loop routine to determine over what interval the SMA generates the highest profit. The scrip runs very well for a single stock but I often get an error message that I’m “Out of Memory” when I run the scrip on a group of stocks, even though my task manager shows that I have over 1G of available physical memory.

I would like to clear the memory after running the script on each stock but I don’t know how to do this. Has anyone run into this problem and are there any suggestions as to how to resolve the problem??
profile picture

Eugene

#2
Welcome to the WL5 Wiki FAQ, please see Out of memory problems where you'll find the answer.