Analysing Map Files
Posted: Wed Dec 07, 2016 3:36 pm
We have an issue with some large data (.dat) files that we are wanting to remap using JCF by splitting out the large classes within that file.
I have been trying to work out how to analyse a data file. I want to see for each class attached to that map how many instances and possibly how much space that class is taking up within the file.
Does anyone know how this can be done? I did this manually for 1 of the files by copying out all the class names from the maps browser and then just going to a work space and putting in "write <class>.instances.size". But I'm hoping there is a better way.
Also as a side note, we were discussing the idea of giving all classes that will create a large number of instances their own Map file. Would be interested to know what are the downsides to creating a map file for a single class except for the huge amount of data files that would then sit in the system folder. It seems to me that performance would improve with smaller data files but I'm not sure it would make any difference. I suppose if you had a lot of users all wanting to get data from the 1 data file then splitting it up would improve things a bit?
I have been trying to work out how to analyse a data file. I want to see for each class attached to that map how many instances and possibly how much space that class is taking up within the file.
Does anyone know how this can be done? I did this manually for 1 of the files by copying out all the class names from the maps browser and then just going to a work space and putting in "write <class>.instances.size". But I'm hoping there is a better way.
Also as a side note, we were discussing the idea of giving all classes that will create a large number of instances their own Map file. Would be interested to know what are the downsides to creating a map file for a single class except for the huge amount of data files that would then sit in the system folder. It seems to me that performance would improve with smaller data files but I'm not sure it would make any difference. I suppose if you had a lot of users all wanting to get data from the 1 data file then splitting it up would improve things a bit?