Community forum

Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


ErikC
  •  ErikC
  • Paid support Topic Starter
2012-10-26T06:21:56Z
Hi,

Today I encounterred an error with the Archive - Compress task.
This is the error I received:

Error in CompressZipFolder, ex: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at SevenZip.IOutArchive.UpdateItems(ISequentialOutStream outStream, UInt32 numItems, IArchiveUpdateCallback updateCallback)
   at SevenZip.SevenZipCompressor.CompressFilesEncrypted(Stream archiveStream, Int32 commonRootLength, String password, String[] fileFullNames)
   at SevenZip.SevenZipCompressor.CompressFilesEncrypted(String archiveName, Int32 commonRootLength, String password, String[] fileFullNames)
   at SevenZip.SevenZipCompressor.CompressFiles(String archiveName, String[] fileFullNames)
   at OBOKIIHBDBPMCFALPGECCIFHCDJPEDKODDGK.DEIOCOLCLLOAPDPOCJGIJNMJFBLPAAPKGIBB.LLFHBCFKEPCADBBLGKCGDNAEJENGGDBNDNPG()

The task is compressing one text file.
The sizes of the text files where the error came up where: 512Mb & 811Mb and 1.11Gb

For the time being I use a external zip executable with an execute task.

Regards,
Erik
Uses Visualcron since 2006.
Sponsor
Forum information
bbusse
2012-10-26T13:37:30Z
Not that it should make too much difference, but the files its compressing, are these large text files on a Network file share (UNC or mapped drive) or are they local to the VC Server?

Brian

ErikC
  •  ErikC
  • Paid support Topic Starter
2012-10-29T10:49:02Z
Hi Brian,

No these files are stored on the local harddisk.

Regards,
Erik
Uses Visualcron since 2006.
Support
2012-10-29T15:33:53Z
Hi,

we tested this locally on a Windows 7 machine compressing to Zip - normal compression. The zip contains one 2.5 GB file. This was created in 6 minutes without any issues.

Erik, please tell me about your OS and hardware setup.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
ErikC
  •  ErikC
  • Paid support Topic Starter
2012-10-30T09:56:49Z
The OS is:

Windows Server 2003 SE SP2
2.8 GHz, 2Gb RAM

The text file (csv) was on a local f drive.
VC is also installed on the F drive.

Regards,
Erik
Uses Visualcron since 2006.
bbusse
2012-10-30T13:04:42Z
I also tested this in our Q environment out of curiousity.

Its a VMware ESX Virtual Machine with 2 vCPUs and 4gb RAM. Underlying hardware has 4 x 12-core AMD cpus (48 logical cores) and 256gb of RAM, though that shouldn't matter as I think the issue would be contained

I didn't try this by changing our Q server to only have 2gb of ram, as i'm wondering if you're running into memory/paging issues. Not sure if the process consumes a ton of memory while compressing or not, though I didn't notice any issues on mine.

I tried a 1.4gb file and a 800mb file separately, and at the same time and it worked the 4 times I tried it. Normal Compression.

OS: Windows 2008 Server Standard R2, fully patched/updated
Antivirus: Symantec Endpoint Protection v12

Erik, did you mean 'Server 2003 R2 w/SP2' ? Never heard of 'SE', just curious.

Also, since its 2003, is it 32-bit or 64-bit ?

I'm going to try and reproduce this exactly, short of 100% identical hardware. Does your VC install run as a service account or does it use the default 'Local System'? What path is VC installed to on Drive F?

EDIT:
I just tried a Single CPU, 1gb RAM, 32-bit 2003 Standard R2 w/SP2, virtual machine running VC 6.1.3 ProdRelease, and compressed the same 1.4gb and 800mb files twice, all is well. Now my question is, are the failures consistent for you or is it completely random on those 3 files you mentioned?


Brian
Support
2012-10-30T22:31:09Z
I tested this on a 32 bit Windows 2003 Enterprise SP2, 2GB ram with success as well.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top