Unknown Software exception on compile.

By: mykle hoban

Abstract: A description of how to get rid of the Unknown Software exception error in the IDE.

Question

When I go to compile my project, it seems to go fine and then suddenly crashes with an "Unknown Software Exception." Why is this happening and how can I get rid of it?

Answer

C++Builder tries to allocate a contiguous block of memory. If real memory is not available, it then gets virtual memory. If the page file is fragmented, this cannot occur and the program does not handle the error gracefully. The solution for this problem is to defragment your page file (pagefile.sys on most machines).


Server Response from: ETNASC01