Post Reply 
Profile is larger than maximum size (MAX_FILE_SIZE)
11-11-2023, 19:03
Post: #3
RE: Profile is larger than maximum size (MAX_FILE_SIZE)
(11-11-2023 18:35)simoncn Wrote:  When you import a profile file, this file is loaded into memory by JavaScript code running in your web browser and sent to MinimServer as text in a form POST request. A size limit is needed in case the user accidentally selects a file with a size of several megabytes, which is likely to cause the browser and/or MinimServer to crash.

The current size limit is 2000 bytes. My largest profile is 1634 bytes so I haven't seen this error myself. I agree that a limit of 2000 bytes is too low for users with complex profiles, so I will increase this limit to 5000 bytes in the next update and change the error message to say what the limit is.

I hadn't considered how it's being sent.

The current size of my profile is mainly down to a few lengthy displayFomats including the comment tag that's building multple URLs, but I can't imagine ever reaching anywhere near 5000!

Thanks as always for the excellent support.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Profile is larger than maximum size (MAX_FILE_SIZE) - simbun - 11-11-2023 19:03

Forum Jump:


User(s) browsing this thread: 1 Guest(s)