Skip to Main Content

Java Card

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Overhead of creating byte Arrays

UmerMay 17 2012 — edited May 22 2012
Hi all,

I am writing a java card applet which will consist of about 300 byte arrays like:
 private static final byte[] a1 = new byte{elements};
 private static final  byte[]a2 = new byte{elements};
..
..
 
An expert of java card told me that I should not create that much arrays as there will be overhead of about 20-25 bytes, associated with each of invidual array. I am not sure about this overhead. Can anybody confirms this please ?

Regards

Edited by: Umer on May 17, 2012 1:46 PM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 19 2012
Added on May 17 2012
6 comments
334 views