Dear All
I am having problem with RunOutOfMemory Error. I have trajectory files sorted in the catalogs and i want to perform one by one analysis of density and cell parameters and export the resutls to csv. Trouble is that so far my solution requires creation of study table (that from uknown reasons also opens a chart) and export this object to csv. Openning a study table and chart requires vast RAM memory and results the error. Any advice?
Script:
#!perl
use strict;
use Getopt::Long;
use MaterialsScript qw(:all);
my @list = (0,30,40,50,60,70,80);
foreach (@list)
{
my \\\$doc = \\\$Documents{'\\100_'.\\\$_.'\\PVAwater '.\\\$_.'.xtd'};
my \\\$results = Modules->Forcite->Analysis->Density(\\\$doc, Settings(
ComputeRunningAverages => "No",
ComputeBlockAverages => "Yes",
BlockAverageFrameWidth => 100,
BlockAverageFrameInterval => 1));
my \\\$outDensityChartAsStudyTable = \\\$results->DensityChartAsStudyTable;
\\\$outDensityChartAsStudyTable->Export('Density'.\\\$_.'.csv');
\\\$outDensityChartAsStudyTable->Discard;
my \\\$results2 = Modules->Forcite->Analysis->CellParameters(\\\$doc, Settings(
ComputeRunningAverages => "No",
ComputeBlockAverages => "Yes",
BlockAverageFrameWidth => 100,
BlockAverageFrameInterval => 1));
my \\\$outCellParametersChartAsStudyTable = \\\$results2->CellParametersChartAsStudyTable;
\\\$outDensityChartAsStudyTable->Export('Cell'.\\\$_.'.csv');
\\\$outDensityChartAsStudyTable->Discard;
}
Best
Lukasz
I am having problem with RunOutOfMemory Error. I have trajectory files sorted in the catalogs and i want to perform one by one analysis of density and cell parameters and export the resutls to csv. Trouble is that so far my solution requires creation of study table (that from uknown reasons also opens a chart) and export this object to csv. Openning a study table and chart requires vast RAM memory and results the error. Any advice?
Script:
#!perl
use strict;
use Getopt::Long;
use MaterialsScript qw(:all);
my @list = (0,30,40,50,60,70,80);
foreach (@list)
{
my \\\$doc = \\\$Documents{'\\100_'.\\\$_.'\\PVAwater '.\\\$_.'.xtd'};
my \\\$results = Modules->Forcite->Analysis->Density(\\\$doc, Settings(
ComputeRunningAverages => "No",
ComputeBlockAverages => "Yes",
BlockAverageFrameWidth => 100,
BlockAverageFrameInterval => 1));
my \\\$outDensityChartAsStudyTable = \\\$results->DensityChartAsStudyTable;
\\\$outDensityChartAsStudyTable->Export('Density'.\\\$_.'.csv');
\\\$outDensityChartAsStudyTable->Discard;
my \\\$results2 = Modules->Forcite->Analysis->CellParameters(\\\$doc, Settings(
ComputeRunningAverages => "No",
ComputeBlockAverages => "Yes",
BlockAverageFrameWidth => 100,
BlockAverageFrameInterval => 1));
my \\\$outCellParametersChartAsStudyTable = \\\$results2->CellParametersChartAsStudyTable;
\\\$outDensityChartAsStudyTable->Export('Cell'.\\\$_.'.csv');
\\\$outDensityChartAsStudyTable->Discard;
}
Best
Lukasz
