Gamestudio Links
Zorro Links
Newest Posts
Purchase A8 full licence version
by ukgamer. 04/29/26 18:09
Z9 getting Error 058
by k_ivan. 04/25/26 19:13
ZorroGPT
by TipmyPip. 04/25/26 16:09
Stooq now requires an API key
by jcl. 04/13/26 09:42
Strange "Alien" Skull created with >Knubber<
by NeoDumont. 04/10/26 18:58
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (TipmyPip, 3run), 4,674 guests, and 16 spiders.
Key: Admin, Global Mod, Mod
Newest Members
ukgamer, valino, juergenwue, VladMak, Geir
19210 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,814
Chicago
AndrewAMD Offline
Serious User
AndrewAMD  Offline
Serious User

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