SmartQuant Discussion

Automated Quantitative Strategy Development, SmartQuant Product Discussion and Technical Support Forums
It is currently Sat Oct 31, 2020 7:42 pm

All times are UTC + 3 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: OutOfMemoryException
PostPosted: Wed Jul 09, 2014 4:20 pm 
Offline

Joined: Wed Sep 18, 2013 10:50 am
Posts: 67
Location: London
Hi Guys

Quant Trader is sending out ProviderErrors "System.OutOfMemoryException". Can you please suggest why this might be happening?

Looking forward to your reply.

Thanks,
Madhur

P.S. This is the exception that I am getting:
7/9/2014 9:00:28 AM : Provider error System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.Collections.ArrayList.set_Capacity(Int32 value)
at System.Collections.ArrayList.EnsureCapacity(Int32 min)
at System.Collections.ArrayList.Add(Object value)
at SmartQuant.Data.DataArray.Add(IDataObject obj)
at SmartQuant.Instruments.DataManager.XFu1XyTqo(Object , QuoteEventArgs )
at SmartQuant.Providers.ProviderManager.NbKckLib1A(Object , QuoteEventArgs )
at SmartQuant.Providers.QuoteEventHandler.Invoke(Object sender, QuoteEventArgs args)
at SmartQuant.QR.QuantRouter.BHUIJ6MbHh(IFIXInstrument , Byte , Double , Int32 , Double , Int32 )


Top
 Profile  
 
 Post subject: Re: OutOfMemoryException
PostPosted: Wed Jul 09, 2014 7:52 pm 
Offline

Joined: Tue Aug 05, 2003 3:43 pm
Posts: 6817
Hi,

have you limited the number of quotes/trades/bars stored in memory?

Regards,
Anton


Top
 Profile  
 
 Post subject: Re: OutOfMemoryException
PostPosted: Wed Jul 09, 2014 9:02 pm 
Offline

Joined: Wed Sep 18, 2013 10:50 am
Posts: 67
Location: London
Hi Dr. Anton

I am not sure. Is there a setting for this?

Regards
Madhur


Top
 Profile  
 
 Post subject: Re: OutOfMemoryException
PostPosted: Thu Jul 10, 2014 12:16 am 
Offline

Joined: Tue Aug 05, 2003 3:43 pm
Posts: 6817
Tools->Options->General

and

Tools->Options->Memory Management

Regards,
Anton


Top
 Profile  
 
 Post subject: Re: OutOfMemoryException
PostPosted: Thu Jul 10, 2014 10:17 am 
Offline

Joined: Wed Sep 18, 2013 10:50 am
Posts: 67
Location: London
Hi Anton

No I haven't. Please find the snap shots attached.

Thanks
Madhur


Attachments:
memoryManagement.png
memoryManagement.png [ 10.91 KiB | Viewed 5920 times ]
General.png
General.png [ 14.99 KiB | Viewed 5920 times ]
Top
 Profile  
 
 Post subject: Re: OutOfMemoryException
PostPosted: Thu Jul 10, 2014 10:58 am 
Offline

Joined: Tue Aug 05, 2003 3:43 pm
Posts: 6817
OK, so try to change these values / options to reduce memory consumption.

Regards,
Anton


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC + 3 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group