Memory issues in C++


Re: Memory issues in C++
#3
If you really need more that 2GB (most software doesn't, but programmers seem to get more and more lazy these days Smile ) ...

The obvious solution would be to develop for 64bit os's only.

An alternative would be using some kind of swap file, although this will needs decent management classes and could be extremely slow if done inefficient (I'm having EMS back flashes here Smile ).

Something else I have been thinking of but never really tried is using multiple program instances. Because if the system runs a 64bit os every 32bit process has it's OWN 2GB limit. So using multiple instances would give you 'n' times 2GB. This approach would need a sophisticated way of communicating between processes and dividing the data.

my 2cts
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: 3 Guest(s)