title: memory_limit=80M. what is the maximum image size for imagecreateformjpeg()?
body: <p>i have a webhosting that gives maximum memory_limit of 80M (i.e. ini_set("memory_limit","80M");).
  I'm using photo upload that uses the function imagecreatefromjpeg();
  When i upload large images it gives the error
  "Fatal error: Allowed memory size of 83886080 bytes exhausted"
  What maximum size (in bytes) for the image i can restrict to the users?
  or the memory_limit depends on some other factor?</p>