On 18 April 2013 17:04, MartinW <wm@fastmail.fm> wrote:
First, thank you for your answers, Igor and Cameron.
Igor Stasenko wrote
well, most programs pay little attention on consumed resources. and usually there is no monitoring for consumption. when you meet such situation, usual behavior is crash with sound of thousands of breaking glasses :)
My application does parse a lot of files and does some number-crunching with them. As the user can in theory include as many files as she wants in these calculations, i suppose there might very well be a moment, when memory is not enough. So you say, there is no way to stop things before it is too late (not enough memory)?
if there's not enough memory, you should receive OutOfMemory exception. (or hard crash ;) but why asking? try by yourself.
-- View this message in context: http://forum.world.st/Ho-to-spare-a-Pharo-desktop-application-user-from-seei... Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
-- Best regards, Igor Stasenko.