I was looking at my plugin prefs files and noticed that one of the files was 10Mbyte
the culprit was a json.dumps entry.
when writing that dict to a file w
f.write(json.dumps(theDict))
instead of
self.pluginPrefs["theDict"] = json.dumps(theDict)
to the indigo plugin prefs file
the file size of the plugin.prefs file went from ~ 10Mbyte to ~30Kbyte and the jsondumps file was just 22 K
It seems that self.pluginPrefs for longer dicts creates really large files ie " --> "
That would explain a factor of 6 but not 200.. ==10,000,000/(30+20)
??
Karl