JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html

javacard byte array max length

JavaCard Applet Development Related Questions and Answers.
KevinAli
Posts: 24
Joined: Fri Aug 21, 2015 3:38 am
Points :104
Contact:

javacard byte array max length

Post by KevinAli » Thu Nov 26, 2015 5:07 am

What is the maximum length when defining a byte array in java card?

In my 32k java card, I defined a byte array with length of 9*1024 and it returned 6A 84 error (6A 84 means "Not enough memory space in the file").
But when I define it with length of 8*1024, there is no error.

User avatar
UNKNwYSHSA
Posts: 630
Joined: Thu May 21, 2015 4:05 am
Points :3055
Contact:

Re: javacard byte array max length

Post by UNKNwYSHSA » Thu Nov 26, 2015 11:30 am

Which method you used to allocate the byte array? "new" statement or makeTransientXXXXArray()?
What's the size of COR/COD/NVM size when you allocate the byte array?
sense and simplicity

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 34 guests

JavaCard OS : Disclaimer