Meteor.settings file size limit


#1
settings file is too large (must be less than 64k)

It looks as if I had reached the size limit of the settings.json file.
Does anyone know why there is a size limit?


#2

(Just curious over here :wink:

And why do you need a settings file larger than 64K in the first place?


#3

Even I also face the same issue. I need to use the settings.json which is nearly 80kb. It is a client requirement to maintain all component information inside settings.json.

Please can anyone know how to increase the settings.json file limit.


#4

That’s the line were the limit is defined: https://github.com/meteor/meteor/blob/f4abbccf4570179f14d37a8747ceb391e25f1cb5/tools/fs/files.js#L224
You can fork meteor and try to increase the limit. But I don’t know what’s the reason for this limit. I’ve used the database to store the config as a workaround.