Is it a bad practice to store byte[] in a map as such
static LinkedHashMap<String, byte[]> fileBuffer = new LinkedHashMap<>()?
When my class is unloaded profiler still shows persitent byte[] memory usage.
Eventually OutOfMemoryError is thrown after several hours.
Does jvm (Oracle jdk8u121) have some prejudice regarding map GC?
Some context: A dynamic custom report tool using Oracle jobs on a server.
byte[]from that map?