If the report have a chart then OutOfMemoryError is coming?

If i put chart in the report the following error is coming, if not report generating?


net.sf.jasperreports.engine.JRRuntimeException: java.lang.OutOfMemoryError: PermGen space
net.sf.jasperreports.engine.fill.JRFillSubreport.prepare(JRFillSubreport.java:659)
net.sf.jasperreports.engine.fill.JRFillElementContainer.prepareElements(JRFillElementContainer.java:327)
net.sf.jasperreports.engine.fill.JRFillBand.fill(JRFillBand.java:402)
net.sf.jasperreports.engine.fill.JRFillBand.fill(JRFillBand.java:361)
net.sf.jasperreports.engine.fill.JRVerticalFiller.fillSummaryWithLastFooterNoPageBands(JRVerticalFiller.java:1404)