Click to See Complete Forum and Search --> : applet memory


John Fleming
March 5th, 1999, 08:23 AM
In the FAQ it says that the preset memory limit for applications is 16m

and that you can change it by adding "java -mx128m" to the command

line. Does this memory limit also hold true for applets? Is there a

way to increase the memory limit for applets? Also, should be able to work

for both Netscape and IE.

Thanks,

John

ganesh
March 15th, 1999, 05:33 AM
hi John Fleming,



This is ganesh. I have one doubt. Is there is any way to avoid to

sensitive data's are getting cached in memory when we use applet.


say the customer submits the userid and password and these parameters are passed

to the applet using liveconnect method .


and in each functions in applet we are passing the userid and password as byte

array.


and in these and password are getting cached in memory as plain text.


This i came to know from browser there is option called Java console under

window menu.

In that java console window if i press (capital x) it dumps the entire content

to a file called memory.out


Can u throw some light on this .


my email id is grkiran1617@hotmail.com (or) grkiran1617@yahoo.com



thanx and regds in advance

ganesh

John Fleming
March 15th, 1999, 12:42 PM
I believe that there are tags you can put into your HTML code to specify when

the document should expire from the cache. If you specified that it should

expire right away, this would probably have the desired effect.

John

ganesh
March 15th, 1999, 11:17 PM
hi John,


I tried this technique long back. It has got no result.


See when we META tag and PRAGMA as NO-CACHE. It's not necessary these things

should not get cached in local system. It means every page has to come from

the HOST system or the from the server from where you are picking the HTML files.


The situation is some thing like this see u have got Java console in the browser window. It proves to be security threat.


you can dump the memory contents into a file and u can search in the file that proves to be a security threat for those who are dealing with sensitive data's


Can u try some thing different and pl. get back to me if u find anything.


thanx and regds

in advance

ganesh