CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: applet memory

  1. #1
    Join Date
    Mar 1999
    Posts
    2

    applet memory



    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



  2. #2
    Join Date
    Apr 1999
    Posts
    7

    Re: applet memory (doubt can u clarify)



    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 [email protected] (or) [email protected]



    thanx and regds in advance

    ganesh






  3. #3
    Join Date
    Mar 1999
    Posts
    2

    Re: applet memory (doubt can u clarify)



    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

  4. #4
    Join Date
    Apr 1999
    Posts
    7

    Re: applet memory cache



    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured