in reply to "Out of memory" problem
You need to use a sorting algorithm that is "in place". In other words, you won't need to have an entire list AND temporary lists in memory at the same time. Assuming you've got the members in an array and loaded in memory (can you run the program without starting to sort?), you should be able to use any algorithm that is specified as in place.
http://en.wikipedia.org/wiki/Sorting_algorithm should give you some good ideas
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: "Out of memory" problem
by eyepopslikeamosquito (Archbishop) on Nov 30, 2012 at 23:04 UTC |