Memory issues in C++


Memory issues in C++
#1
I was reading about the LDView bugs and spotted this statement.

Travis Cobbs Wrote:Also, no matter how much memory you have, LDView is a 32-bit app, so it will crash if it ever needs more than 2GB (or perhaps 3GB, but I don't think so).

I've been wondering why some code I'd written kept crashing and throwing std::bad_alloc and it's very likely to be this.

So... do any of the C++ gurus around here know how to bypass the problem in general? I've got some numerical code that needs to store and manipulate massive matrices and to run on 32bit systems as well as 64bit.

Tim

PS. Helping the forum live up to its C++ query predictions Wink
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Memory issues in C++ - by Tim Gould - 2012-01-17, 7:08
Re: Memory issues in C++ - by Travis Cobbs - 2012-01-17, 17:40
Re: Memory issues in C++ - by Tim Gould - 2012-01-17, 20:40
Re: Memory issues in C++ - by Roland Melkert - 2012-01-17, 18:11
Re: Memory issues in C++ - by Tim Gould - 2012-01-17, 20:46
Re: Memory issues in C++ - by Steffen - 2012-01-18, 0:32
Re: Memory issues in C++ - by Tim Gould - 2012-01-18, 0:35
Re: Memory issues in C++ - by Steffen - 2012-01-18, 0:46
Re: Memory issues in C++ - by Tim Gould - 2012-01-18, 1:34
Re: Memory issues in C++ - by Travis Cobbs - 2012-01-18, 2:14
Re: Memory issues in C++ - by Roland Melkert - 2012-01-18, 18:02
Re: Memory issues in C++ - by Travis Cobbs - 2012-01-17, 20:56
Re: Memory issues in C++ - by Tim Gould - 2012-01-17, 21:15
Re: Memory issues in C++ - by Tim Gould - 2012-01-19, 8:23

Forum Jump:


Users browsing this thread: 1 Guest(s)