Wednesday, January 30, 2013
Work around: Lower the max memory setting in the JNLP, or use a 64-bit JVM that allows for more memory availability. If you have total control over the client, close running processes.
Synopsis: Researched the hell out of this, and the problem is ridiculous. On a machine with 16G of memory, and who knows how much virtual memory on top of that, the most I can set my max memory is 900M. Otherwise I intermittently get this error when launching from my JNLP.
The problem is that Java needs contiguous memory for the JVM, and because windows throws DLLs and apps in memory all over the place, the more you have running, the harder it is to get that block of contiguous memory.
Java has no guidelines for 'max memory' settings; it's all dependent on the app, the machine, and the version of java.
Keyword tags: -Xmx, max heap size, jnlp, java, web start, Error: Could not create the Java Virtual Machine
Monday, January 7, 2013
How to remove Sprint proxy servers on the Galaxy S II Epic Touch 4G
- Root your phone (QBKing77, opens in a new window)
- Download alogcat from marketplace
- Open alogcat
- Press menu > filter
- Type in MSL
- Press the home key then dial ##data#.
- Click Edit
- When asked to enter MSL just enter random numbers and press okay.
- Now go back to alogcat it should be there and look something like this:
I/MSL_Checker( 220): MSL result : ******
The number (*****) is your MSL. For some reason when you enter the wrong msl it gives you the right one when looking at the logs with alogcat.
- Press home key then dial ##data#
- Click Edit
- Enter MSL and press okay
- Click on Others
- Click on Multimedia
- Change the following settings to:
- RTSP Proxy Address changed to 0.0.0.0
- RTSP Proxy Port to 0
- HTTPPD Proxy Address to 0.0.0.0
- HTTPPD Proxy Port to 0
For posterity, stock settings are:
- RTSP Proxy Address: rtsp.vog.sprintpcs.com
- RTSP Proxy Port: 554
- HTTPPD Proxy Address: pd.vog.sprintpcs.com
- HTTPPD Proxy Port: 8085