DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating Chart in DIAdem

Hi
   I need to create Chart report in DIAdem to display channel values with a constraint of maximum 14 channels and 16 rows of values for each channel per sheet. Since the channel lengths are typically several thousands, the number of sheets in the report also runs into thousands. During execution of the chart generation, invariably after about 300 - 350 pages are generated, I get an error saying something like this:
"Not enough memory for the new graphic page "Sheet1". 347 pages are currently specified in REPORT."
How do I overcome this memory problem ? Could someone please help ?
 
Thanks in advance
Venkatesh Murthy.
 
0 Kudos
Message 1 of 8
(4,885 Views)

Hi Venkatesh Murthy,

After you've run into this error, check the Windows Task Manager to see how much available RAM you have left on your PC.  My guess is that you just need to buy more RAM or close down some other applications (Lotus Notes?) to free up more RAM.

Brad Turpin
DIAdem Product Support Engineer
National Instruments

0 Kudos
Message 2 of 8
(4,876 Views)
Thanks for the suggestion, Brad.
0 Kudos
Message 3 of 8
(4,866 Views)
I have ran into the same problem.  I get the noted "Not enough memory" error around page 300.  I started out with 2.5 GB of ram and then upgraded to 4 GB.  Upgrading the ram did not help, I still error out arond page 300.   Did simply upgrading the ram help anyone else or is there anything else I need to do?  
0 Kudos
Message 4 of 8
(4,440 Views)

Update....  According to Windows task manager I have 3GB of free physical memory and DIAdem is using 305kB physical and 370kB virtual when the error occurs.  It doesn't appear to be a windows limitation. 

 

What else could it be???

0 Kudos
Message 5 of 8
(4,436 Views)

Hi Siriusly,

 

Would you be able to post your VBScript and your data files so we can reproduce this problem and begin to debug it?  This 300 sheet issue has popped up a couple of times now, but it is not a hard limit-- I have created over 1000 sheets before with no problems.  It must be something specific to your reports.  Do you use 3D plots on any of your 300 sheets (they tend to be memory-intensive)?  Based on your latest data it does sound like we can abandon the idea of an OS memory limitation, but there may still be a DIAdem-imposed memory limitation that results in 1000 simple sheets being OK but 300 memory-intensive sheets being too much.

 

Brad Turpin
DIAdem Product Support Engineer
National Instruments

0 Kudos
Message 6 of 8
(4,393 Views)

 I have uploaded the Script and report layouts to the ni.ftp site (300 Page Issue.zip).  You must load your data manually before running the script.  I have password protected the zip file and I will need to email you the password.  The report is basically all text objects and not  really conventional "data"

 

Thanks for the help Brad

 

0 Kudos
Message 7 of 8
(4,378 Views)

Hi Siriusly (and others),

 

R&D has confirmed that DIAdem 11.1 introduced a memory fragmentation issue that is behind the behaviour you are seeing here.  As far as we know this problem did not exist in any previous DIAdem version.  We also hope to remove it from subsequent DIAdem versions.  For the time being, my recommendation is to load and configure each REPORT sheet separately and append them to the PDF file by setting the optional second parameter of the PicPdfPrint() command to TRUE.  This will mean that you only have 1 REPORT sheet loaded in memory at any given time, so it should sidestep the problem in DIAdem 11.1.

 

Brad Turpin
DIAdem Product Support Engineer
National Instruments

0 Kudos
Message 8 of 8
(4,366 Views)