Previous Thread
Next Thread
Print Thread
TARSAV out of memory error #26324 06 Jan 04 10:42 AM
A
Anonymous
Unregistered
Anonymous
Unregistered
A
I am trying to copy everything on an AMOS system to Linux using TARSAV.LIT and the other AMOS TAR utilities but keep encountering an AMOS "?Out of memory" error whenever I try to TARSAV ALL:[] near the end of the data. I know the tape is large enough and the job has about 2.5MB of RAM. I have been saving smaller "chunks" and restoring them to a Linux box and that seems to be working but am curious if anyone has seen this before or knows what might cause this problem. I was hoping to get a singe tape of the entire AMOS filesystem just to have as a backup.

Re: TARSAV out of memory error #26325 03 Feb 04 07:56 AM
Joined: Jun 2001
Posts: 46
S
Scott Buechler, Datatron Offline
Member
Offline
Member
S
Joined: Jun 2001
Posts: 46
I am experiencing a similar problem, and possibly may have narrowed down its cause.

In one instance when I run either TARSAV or TARCON (same as TARSAV except it does not write the DSK: specification to the tape) I get an "insufficient free memory" message after writing approximately 2,940 files and 43,647 blocks. I have rebooted the Alpha, run this save on different tapes (both 525MB and 4GB), and run it with 1.3MB of memory as well as 26MB; all with the same "insufficient free memory" message.

I ran a second save of 10,145 files in 39,217 blocks and it ran fine.

I ran a third save of 740 files in 680,383 blocks and it also ran fine.

The one difference I see is that in the save that failed I manually specified 17 different device specs (ie TARSAV ALA0:[],ALX0:[],BBC0:[],CXP0:[], etc) and it aborted while saving approx the 12th device. The two saves that worked (one with thousands more files and the other with many more blocks) were both of a singe device spec (and BIG0:[] was obviously of an extended directory).

Were your saves that failed also of a large number of device specs ?

Don't know if this might help Jack or not ? Since my one test will fail every time I can certainly test any beta patch that Jack might offer.

FYI my versions are:
TARRES LIT 4 2.0(100)
TARCON LIT 11 2.0(107)
TARDIR LIT 2 1.0(104)
TARSAV LIT 11 2.0(106)
TARSER LIT 2 1.0(101)

Re: TARSAV out of memory error #26326 06 Feb 04 07:50 AM
A
Anonymous
Unregistered
Anonymous
Unregistered
A
Scott,

Thanks for your reply. The theory about a large number of devices may be correct. I was trying to back up a large number of opened FOLDER devn:[] devices along with DSK:[] (33 traditional logicals) and SUB:[] (2 extended). I tried to work around it by increasing the job's memory which failed as well. I also tried various combinations of saving just DSK:[] & SUB:[] which I believe worked. I then tried opening various combinations of FOLDER devices and

That system is no longer available and I do not have another with FOLDERs installed so I cannot reproduce the problem. If I can later I will post.

Here are the versions & hashes for the TAR utilities I have though I do not have TARCON:

DSK0:TARRES.LIT[1,4] 2.0(100) 634-043-064-166
DSK0:TARDIR.LIT[1,4] 1.0(104) 625-631-562-027
DSK0:TARSAV.LIT[1,4] 2.1(108) 535-531-727-737
DSK0:TARSER.LIT[1,4] 1.0(101) 765-623-310-104

Thanks,

Steve


Moderated by  Jack McGregor, Ty Griffin 

Powered by UBB.threads™ PHP Forum Software 7.7.3