Page 1 of 1

How can I reduce memory consumption?

Posted: Wed Nov 18, 2015 6:03 am
by wintstar
I have worked with some java card projects where achieving better performance and reducing memory consumption has been the primary goal. But believe me it has been very hard to control the memory consumption.

Now my question is what all measures you take to minimize the memory consumption?

Re: How can I reduce memory consumption?

Posted: Wed Nov 18, 2015 11:09 pm
by conliaOdk
Two tips for you:
- If possible, allocate all applet resources in the constructor.
- Use a big buffer instead of several small buffers