Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
4 registered members (NewbieZorro, Grant, TipmyPip, AndrewAMD), 13,346 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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,806
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,806
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 | 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