Jasperviewer in Netbeans: java.lang.OutOfMemoryError: Java heap space
<p>When i execute the project in Netbeans 6.5, while viewing the reports (jasper reports) jasperviewer opens, but not fully. and in output window it throws exception like this:</p>

<pre><code>Exception occurred during event dispatching:
java.lang.OutOfMemoryError: Java heap space
    at java.awt.image.DataBufferByte.&lt;init&gt;(DataBufferByte.java:58)
    at java.awt.image.ComponentSampleModel.createDataBuffer(ComponentSampleModel.java:397)
    at java.awt.image.Raster.createWritableRaster(Raster.java:938)
    at javax.imageio.ImageTypeSpecifier.createBufferedImage(ImageTypeSpecifier.java:1169)
    at javax.imageio.ImageReader.getDestination(ImageReader.java:2879)
    at com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(JPEGImageReader.java:943)
    at com.sun.imageio.plugins.jpeg.JPEGImageReader.read(JPEGImageReader.java:915)
    at javax.imageio.ImageIO.read(ImageIO.java:1422)
    at javax.imageio.ImageIO.read(ImageIO.java:1326)
    at net.sf.jasperreports.engine.util.JRJdk14ImageReader.readImage(JRJdk14ImageReader.java:58)
    at net.sf.jasperreports.engine.util.JRImageLoader.loadImage(JRImageLoader.java:248)
    ....
</code></pre>
