What version of VA Smalltalk are you running? This can affect my answer since only VA Smalltalk V7.5.2 can use more than 2GB of memory and has had its DLLs relocated.
You are most likely running into fragmented memory. When you set -mi to 100MB, it means that there must be at least 100MB of contiguous memory available for the allocation to success. I suggest using Microsoft's ProcessExplorer tool (download from http://www.sysinternals.com
) to see where DLLs are loaded in memory). You will likely see that there are holes (perhaps large holes, but not 100MB holes) between DLLs. To make the maximum memory available to your application, you will need to:
1) relocate DLLs that are causing large holes in memory
2) make sure you are running with 3GB available to VA Smalltalk (see the readme for VA Smalltalk for details)
John O'Keefe [|], Principal Smalltalk Architect, Instantiations Inc.