Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

How to releae memory variable

  Asked By: Armando    Date: Feb 27    Category: Java    Views: 645

Can we release memory variables in java and create them again?

I am reading data from a file to an array.

The subscript of array are different, depending on the
input. Only one table is to remain in memory at any time. I
am using the same array for reading it to make the program
easy to understand, and to save on memory.

Can I release the previous array just before creating a new
array to read next entry from the file?




No Answers Found. Be the First, To Post Answer.

Didn't find what you were looking for? Find more on How to releae memory variable Or get search suggestion and latest updates.