Payload attachment exceeds the limit of 5242880 bytes set by system property com.glide.attachment.max_get_size.

drobinson1
Kilo Explorer

I get this when discovering our AWS environment, and the result is that it doesn't discover any of our private AMI's.

3 REPLIES 3

Prasun
Giga Guru

Go to sys_properties table and check the value of the com.glide.attachment.max_size properties.


The value shows in MB and that is the maximum size allowed for the instance. Try to increase it and try.



Below document has some information about that.


Administering Attachments - ServiceNow Wiki


Marc54
Mega Guru

Daniel,



the property mentioned in the message does not exist by default.


To set a greater value, just create a new property named "com.glide.attachment.max_get_size" in the sys_properties table and set it to your required size (in bytes).



Marc


"The platform limits the size of attachments that can be loaded into memory by 5MB using the com.glide.attachment.max_get_size property. It is NOT recommended to increase this property as it affects any location in the platform where attachments are loaded into memory and significantly increases the risk of running out of free memory (resulting in an outage)."

https://hi.service-now.com/kb_view.do?sysparm_article=KB0610485