Hacker News new | ask | show | jobs
by blattimwind 3063 days ago
> The root cause for crashes then, I am guessing, must be lousy code.

Huh? Almost every application just panics when it runs out of memory. Not least because it's actually difficult to do stuff without using memory within typical application frameworks.

2 comments

At least memory-intensive applications should be tested under such conditions.

When I was at college more than a decade back, I tested many applications under such conditions and my own application too. Most Microsoft's applications survived even with less than 100 bytes of RAM remaining and a disabled virtual memory! This included Microsoft Office, Visual Studio, et al. My own application survived too with a fix or two. Windows Explorer, funnily, crashed. Many non-Microsoft applications crashed.

More recently (2012), I tested two commercial Java profiler applications, JProfiler and Yourkit. They both survived without issues under such conditions.

I would seriously blame codecs. The programming from video editors I am sure is 100% about compromises. You can't get a smooth preview playback of 4K unless you have sunk thousands of dollars into your computer. I am guessing that they are always playing the compromise of you can't really get this but we will give you that all the time. The issue comes when they are playing around with how to control latency and i/o bottle necks.