Index: /trunk/MagicSoft/Mars/Changelog
===================================================================
--- /trunk/MagicSoft/Mars/Changelog	(revision 4120)
+++ /trunk/MagicSoft/Mars/Changelog	(revision 4121)
@@ -18,4 +18,12 @@
 
                                                  -*-*- END OF LINE -*-*-
+
+ 2004/05/22: Markus Gaug
+
+   * mcalib/MHCalibrationCam.cc
+     - remove cloning of all pixels on the Clone() function. This caused 
+       the need for three times more memory during runtime than now. It 
+       should not affect the current macros.
+
 
  2004/05/22: Abelardo Moralejo
Index: /trunk/MagicSoft/Mars/mcalib/MHCalibrationCam.cc
===================================================================
--- /trunk/MagicSoft/Mars/mcalib/MHCalibrationCam.cc	(revision 4120)
+++ /trunk/MagicSoft/Mars/mcalib/MHCalibrationCam.cc	(revision 4121)
@@ -296,6 +296,6 @@
   MHCalibrationCam *cam = new MHCalibrationCam();
 
-  cam->fHiGainArray->Expand(nhi);
-  cam->fLoGainArray->Expand(nlo);
+  //  cam->fHiGainArray->Expand(nhi);
+  //  cam->fLoGainArray->Expand(nlo);
   cam->fAverageHiGainAreas->Expand(navhi);
   cam->fAverageLoGainAreas->Expand(navlo);
@@ -303,4 +303,5 @@
   cam->fAverageLoGainSectors->Expand(nselo);
 
+  /*
   for (int i=0; i<nhi; i++)
     {
@@ -313,4 +314,6 @@
       (*cam->fLoGainArray)[i] = (*fLoGainArray)[i]->Clone();
     }
+  */
+
   for (int i=0; i<navhi; i++)
     {
