Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 1,486 guests, and 10 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19055 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Memory limit exceeded #480881
07/21/20 22:05
07/21/20 22:05
Joined: Aug 2013
Posts: 8
California
R
ron17 Offline OP
Newbie
ron17  Offline OP
Newbie
R

Joined: Aug 2013
Posts: 8
California
I am running OptionsSimulate.c to create options data for AAPL. I am getting the following memory error.
I tried doing the same thing with asset SPY, and it throws the same error.
My R, RQuantLib is installed correctly, verified with RTest.c

Any thoughts ?

-----------------
OptionsSimulate compiling....................
Allocating 1134191520 Contracts - failed
Saving 0 records to History\SPY_OptionSim.t8
Ok!
Quit
-----------------

Attached Files
Re: Memory limit exceeded [Re: ron17] #480882
07/21/20 23:41
07/21/20 23:41
Joined: Feb 2017
Posts: 1,731
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,731
Chicago
That's a lot of contracts! I'm guessing you'll need 42 GB of RAM with a 64-bit Zorro to do whatever setup you had in mind. Plus Zorro is 32-bit, so that's impossible anyways.

What did you do?

Re: Memory limit exceeded [Re: ron17] #480885
07/22/20 03:16
07/22/20 03:16
Joined: Aug 2013
Posts: 8
California
R
ron17 Offline OP
Newbie
ron17  Offline OP
Newbie
R

Joined: Aug 2013
Posts: 8
California
I was running the script OptionsSimulate.c, changed StartDate and EndDate. The file is from https://financial-hacker.com/scripts2017.zip

Updated the script as below, its working okay now.
// StartDate = 20190101; EndDate = 20200630; -- this gave me memory issue
StartDate = 2019; EndDate = 2020;


Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1