WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Arrays
plus
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

VMalloc Error - VirtualAlloc Failed 487

 Keywords:  VMalloc Error VirtualAlloc Failed 487 Memory Alloc Error Array 10 Million Elements String Space Limit Limitation Available Drop

Question:

Hitting this error as I create an array.. Array has a little over 4M elements and I planned on being able to hit 6M without a problem. I was under the impression that we could have 10M array elements?!? Is their a way to increase sting limits?

Answer:

Keep in mind that there is a hard maximum of 250MB of total string memory available. An array can contain up to 10 million total elements, although this may be constrained by available memory. This error occurs when reserved memory for strings is exhausted. Make sure you Drop any large unused string variables. NOTE: IntControl 77 request 0 can be used to determine total memory allocated for strings, in bytes.

Have you considered partitioning the data into smaller, more manageable chunks. What are you trying to accomplishe exactly?


Article ID:   W17671
Filename:   VMalloc Error - VirtualAlloc Failed 487 .txt
File Created: 2013:05:30:08:50:54
Last Updated: 2013:05:30:08:50:54