Re: [jasperreports-questions] Re: with out memory filling big reports

2006-04-19 Thread Lucian Chirita

a a wrote:

hello i have solved my problem i don't know, but have
changed the version of jasper to 1.2 and run perfect,
but i have ohter problem o no problem question, when i
call the method 


JasperFillManager.fillReportToFile(
jasperReport,
tmpFileLlenar.getPath(),
parameters, 
ds

);

this use a memory? when i call this with a small
reports no problem but when i call with a big reports
i have a java.lang.outOfMemory, i thought that this no
have diference between small report and big reports
how the fill is into a file not into a object in
memory.

  
fillReportToFile is nothing more than a shortcut method for filling a 
report in memory and then saving it into a file.


Currently the fill process is not streamable, it always fills the whole 
report in memory (but when you use a virtualizer, part of that memory 
gets virtualized).  This is because in the general case streaming is not 
possible (e.g. if you have page x of y on each page, even the first 
page is finished only after all the report has been generated).


Therefore, if you have large reports to fill and not enough VM memory, 
you should use a virtualizer.



some one know why?
thanks
alvaro tovar

  

Regards,
Lucian Chirita

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions
  



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] Re: with out memory filling big reports

2006-04-18 Thread a a
hello i have solved my problem i don't know, but have
changed the version of jasper to 1.2 and run perfect,
but i have ohter problem o no problem question, when i
call the method 

JasperFillManager.fillReportToFile(
jasperReport,
tmpFileLlenar.getPath(),
parameters, 
ds
);

this use a memory? when i call this with a small
reports no problem but when i call with a big reports
i have a java.lang.outOfMemory, i thought that this no
have diference between small report and big reports
how the fill is into a file not into a object in
memory.

some one know why?
thanks
alvaro tovar

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions