A byte array is initially allocated:

  byte[] bb;
  bb = new byte[36];

Later condition arises that I need a byte array of 128. And thus:

  bb = new byte[128];

This condition will arise every now and then (with different size requirements). Since there is no mechanism to release the previous memory block, will there be memory leak ?

Thanks.

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to