java.lang.OutOfMemoryError: Java heap space


hi,

 

i think messed in design. have app users can upload images contest having. works fine except when viewing uploads. have feature "admin" of contest can 1 click display/print uploads, , problem occurs. when option selected, page sits , churns forever, , kick error in subject line. when googled this, said increase heap size. defaulted 512mb , changed 1024mb , still not make difference. before go , keep increasing heap size, want make sure path should take.   code below.

 

one caveat: there 1 kicker in whole process. despite recommendations, of allowing jpg, bmp, gif or tif users know more me wanted allow pdf , eps files. using code below understand there problems displaying. suggestions improve appreciated.

 

 

<cfquery name="getall" datasource="#dsn#">
select imagepath
from tradition
<!--- auto_id = '#url.cfgridkey#' --->
</cfquery>

 

<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>untitled document</title>
</head>

 

<body >
<cfdocument format="pdf" pagetype="letter">
<cfoutput query="getall">#getall.imagepath#<br /><br /><br />
<img src="../uploads/#getall.imagepath#">
<cfdocumentitem type="pagebreak"></cfdocumentitem>
</cfoutput></cfdocument>
</body>
</html>



More discussions in Advanced Techniques


adobe

Comments

Popular posts from this blog

Flip address is out of range arduino uno r3

Arduino Uno not uploading

Indesign and MathType fonts