Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

out of sytem resources

edited October 2007 in General
Hello,

I?m using ReportBuildr 7.03 for Delphi 5
After print many times I get an error about out of system resources.I think
could be a problem with TppReportExplorer.LoadRepor(...) and TppReport.Print
method when I call this methods I check user objects on windows task
manager; three objects are lost. I don?t know can free this objects. Every
time I print I get three objets more

Thanks

Comments

  • edited October 2007
    - I recommend updating to RB 7.04, which was the last produced release that
    supports D5. It is free update form 7.03. Email info@digital-metaphors.com
    with your serial no and registration info and request it.

    - After updating to RB 7.04, then retest.

    - If you still have an issue, then run the application under tool such as
    AQTime that can check for memory/resource leaks and show where they occur.

    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited October 2007
    I?ve updated to 7.04 an the problem goes on. Every time I print, lost 3
    objects. I?ve removed the ppReport.Print and I lost 2 objects, if I removed
    ppReportExplorer.LoadReport (... any object are lost.
    there any way to "unload report"?

    Thanks


  • edited October 2007
    - Try running the application under tool such as AQTime that can check for
    memory/resource leaks and show where they occur.

    - You can call these two methods to clear out a template

    FReport.FreeModules; // free TdaDataModule, TraCodeModule

    FReport.Template.New; // free layout elements



    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited October 2007
    > I?ve updated to 7.04 an the problem goes on. Every time I print, lost 3

    If you use FastMM (free), it has the ability to report where memory loss is
    occuring (not as clean as AQTime, but does improve application speed as
    well).

    http://sourceforge.net/projects/fastmm/
  • edited October 2007
    this methds dosen?t work.

    What modules must I add to AQTime?

    thanks

  • edited October 2007

    - add RBuilder\Source

    - As Ed Dressel suggested you can also try FastMM, we have used that here
    with success as well.

    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited October 2007
    I?m testing with FASTMM but don?t register user?s object. I only can see
    this user?s object with windows task manager.

    cheers


  • edited October 2007
    Try testing with a different printer driver. RB uses the printer driver for
    measurement calculations, even when previewing. Perhaps the printer driver
    is leaking resources.


    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.