• Post Reply Bookmark Topic Watch Topic
  • New Topic

Is JAI solution for OutofMemoryError

 
Chris Jebaraj
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys!!!
When i try to scale an image (1500*1500) by scalefactor 7, i am getting OutOfMemoryError. I tried searching for a solution, but couldn't. But i could see some answers stating that increase jvm memory by -Xmx256m etc. Is there any other possible solution for this case ??? How about using JAI??? Will this solve this problem. [I am writing 24x7 server code which may handle images in MB (max 50-70MB)].

Is anybody there to help me???

Thanks.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!