Skip to content

LVM-IT/spring-web-validation-oom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Request-Data is attachement.json, containing a name-field and a base64 encoded byte-array with 6 million bytes.

To produce an OutOfMemory Error with an 6MB-Request:

  • run springboot application with -mx256m
  • curl -X POST -H 'Content-Type: application/json' -d @attachement.json http://localhost:8080/attachements

About

Demo Application for OutOfMemory-Problem with byte-array validation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages