forum.alglib.net

ALGLIB forum
It is currently Sun Dec 22, 2024 7:05 pm

All times are UTC


Forum rules


1. This forum can be used for discussion of both ALGLIB-related and general numerical analysis questions
2. This forum is English-only - postings in other languages will be removed.



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Does 'real_2d_array' has a upper limit of length ?
PostPosted: Tue Dec 27, 2011 10:01 am 
Offline

Joined: Tue Dec 27, 2011 9:54 am
Posts: 1
Hi there


I use

real_2d_array aux ;
aux.setlength(dim,dim);

when dim uper to 13000, it ok ; but when I try dim = 14000, error emergys.

So I wonder that, Does 'real_2d_array' has a upper limit of length ?
If so, is there any ways I could use a larger matrix (real_2d_array) operation ? 14000 is too insufficient .

Thanks ~


Top
 Profile  
 
 Post subject: Re: Does 'real_2d_array' has a upper limit of length ?
PostPosted: Thu Dec 29, 2011 8:23 am 
Offline
Site Admin

Joined: Fri May 07, 2010 7:06 am
Posts: 927
14000*14000 array needs 1.5*10^9 bytes of memory. I suppose that you work in a 32-bit environment. Such environments typically can not work with more than 2GB of memory, and actual limit can be even less (some part of these 2 GB's is already occupied). And even if you can allocate memory for 13000*13000 matrix, you should remember that most ALGLIB algorithms allocate temporary copies of input data, which need memory too.

Can you switch to 64-bit system?


Top
 Profile  
 
 Post subject: Re: Does 'real_2d_array' has a upper limit of length ?
PostPosted: Fri Jan 02, 2015 4:49 am 
Offline

Joined: Fri Jan 02, 2015 4:48 am
Posts: 1
when dim uper to 13000, it ok ; but when I try dim = 14000, error emergys.


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 19 guests


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 © 2000, 2002, 2005, 2007 phpBB Group