I'm currently trying to debug an application written by someone else. When parsing a large XML file, an error message displays saying 'Out of String Space'. I found in the program a lot of dead code, as well as unused variables. After commenting that out, the file parsing got further, but I'm still getting an 'Out of String Space' error.
Where do I go from here? How does one debug this kind of problem?
It's quite important that I rectify this problem ASAP, as the software has to be released into production soon.