5 Replies Latest reply: Mar 7, 2012 12:43 PM by sfarmer81 RSS

    Java Card Data Memory - how can a 16k array fit on my 8k card?

      Hi all,

      I tried to guess the memory size I can use in my applets by allocating arrays of bytes.

      I noticed that I am allowed to allocate a lot more memory than my physical RAM. For instance my card is 8KB ram but in my install method I create an array of 16384 bytes. How can it be possible ? Is there a swap mechanism or a virtual memory mechanism like classic computers ? I am working with a Javacard 3.0 Classic.

      Thanks a lot for your explanation.