I'm afraid 'new' can not solve this problem.
The problem is all about memory shortage, either phisical or virtual.
I don't think techniques on programming could solve it.
Could you please notify me if you fix it?
I'd like to know how.
Good Luck :)
In my understanding about the memory using, the allocated memory must be not in continuous space and so it very possibly involved a lot of paging swapping to fetch some certain pointers. May can first try comment below: (it means avoiding using the memory firstly, then make sure the system can afford the assigning, then use it secondly)
I don't know what you are trying to put into your queue, but normally 10800 *anything* shouldn't make you run out of memory - unless that *anything* are bitmaps or something the like.
You can't change your physical limits, but you could change the way you work with things - if you are actually attempting to to store lots of large objects, you may want think about streaming to or from a file.