The actual post:
Despite having 6g of RAM I have had constant trouble in my portfolio backtester and multicharts running out of memory at around 1.8G. This post gave me the idea to solve the problem with LARGEADDRESSAWARE flag. I didn't have visual studio so I found an alternate solution. I hope this post helps others solve their memory problem until multicharts is compiled 64bit. (It would be awesome if multicharts came with LARGEADDRESSAWARE set by default until then...i dont think there is any downside to it)
I was able to set the flag quickly and easily with a free tool called masm32:
- If you are 32bit then set 3G switch as per these instructions (I Got Pro Tools 7.3 to recognize 2.7GB of memory- Here's how - Avid Audio Forums) otherwise read on...
- Go to MASM32 Downloads
- Download from the link at the top
- Unzip and install it in a directory. Lets say C:\masm32
- Go to your multicharts directory C:\Program Files (x86)\TS Support\MultiCharts and copy multicharts.exe and MCPortfolio.exe to a backup location and also into C:\masm32\bin
- Open a command prompt and go to the masm32\bin folder
- Type this C:\masm32\bin\editbin /LARGEADDRESSAWARE multicharts.exe
- Type this C:\masm32\bin\editbin /LARGEADDRESSAWARE MCPortfolio.exe
- In your explorer window, move the Multicharts.exe and MCPortfolio.exe back into multicharts directory.
Your multicharts will now use up to 3G and I have not seen an out of memory error since.
But with Ninja, I was constantly running out of memory. I don't recall ever hitting the limit with MultiCharts, I wonder how much tick data these guys are testing to hit the limit.
Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.
Need help? 1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first. 2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses. 3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make. 4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance. 5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers. 6) Help using the forum? Watch this video to learn general tips on using the site.
If you want to support our community, become an Elite Member.
The following user says Thank You to Big Mike for this post: