I am designing a simulation application. It creates new threads at certain events. After about 1500 threads, the OutOfMemoryError pops up. I am using sdk 1.4 on Windows 98 - DOS window. I am not sure if java is using all available memory including extended memory.
Hi Barkat, as far as I know, when you run a DOS window with Windows version newer than 3.x, it's a virtual DOS machine meaning that Windows makes it think like a real 16-bit DOS application, but Windows actually manages the memory access. And this means that a virtual DOS window is not limited any more to the first 2^20 memory addresses (correct me if I'm wrong).