Hi - Is there any logic to arrive at the warning memory limit? since the memory limit essentially depends on OS, browser, no of browser windows open etc, I want to understand how to arrive at the warning memory limit. We want to display friendly message to the user when the memory exceeds certain threshold (after which response will be sluggish). So we want to know how to arrive at that threshold limit. We are planning to use System.totalMemory to find out the total memory used currently.