As I showed, you can actually work it out yourself. Suppose you have 500 000 active sessions in memory, each having a load of 1000 bytes, and 1 GB memory available in the Java Virtual Machine. Then there will likely be memory issues. It all depends on the server, the Virtual Machine and your application.
This estimation method is just a rule of thumb. It makes the unrealistic assumption that the Virtual Machine is only busy with session management. After you factor in the memory demands of the server, the JVM and your application, and the type of memory configuration, it may turn out that just 1 to 5% of the memory is available for sessions. Divide this amount by the average number of bytes in a session, to get an estimate for the maximum number of sessions.