English Amiga Board Amiga Lore


Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 14 July 2011, 01:31   #1
source
Zone Friend
 
Join Date: Jul 2005
Location: Toronto, Canada
Posts: 655
lha buffering

Is there any way to get lha to buffer the archived file on the hard drive instead of ram. I have 16 megs of ram, but I am trying to lha a 35 meg file. It gets to about 22megs then freezes. The ram disk is full only a few k left in both fast and chip ram. I was wnting it to buffer to the hard drive so I can archive the whole file.
source is offline  
AdSense AdSense  
Old 14 July 2011, 04:56   #2
Hewitson
Registered User
Hewitson's Avatar
 
Join Date: Feb 2007
Location: Melbourne, Australia
Age: 35
Posts: 2,235
Does it have to be an lha? I know for a fact that zip will work, if you have your heart set on using an archiver that's native to the amiga then LZX will probably do what you want.
Hewitson is offline  
Old 14 July 2011, 08:16   #3
thomas
Registered User
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 5,526
Quote:
Originally Posted by source View Post
Is there any way to get lha to buffer the archived file on the hard drive instead of ram. I have 16 megs of ram, but I am trying to lha a 35 meg file. It gets to about 22megs then freezes. The ram disk is full only a few k left in both fast and chip ram. I was wnting it to buffer to the hard drive so I can archive the whole file.
Certainly it's possible. Enter lha without arguments, then a list of possible options is printed. Among them is the option to set the working directory. I don't remember it right now.
thomas is offline  
Old 14 July 2011, 11:01   #4
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 1,725
Hmm... maybe I missing something but LHA shouldn`t use so much memory. In the lha.guide you can read this:

2.11 Using as little memory as possible

"When using the default settings, LhA requires about 300KB to archive, and 180KB to extract files." [...]

Do you mean you try to archive to RAM-Disk instead? If yes, you can select any target for archives.

BTW. There is a option for faster file add that is maybe useful:

-Qq (add) Quick add

Just have a look into the guide.
daxb is offline  
Old 14 July 2011, 19:45   #5
Photon
Moderator
Photon's Avatar
 
Join Date: Nov 2004
Location: Hult / Sweden
Posts: 4,437
Quote:
Originally Posted by source View Post
Is there any way to get lha to buffer the archived file on the hard drive instead of ram. I have 16 megs of ram, but I am trying to lha a 35 meg file. It gets to about 22megs then freezes.
Stopped when I saw the false assumption. If you have a bad lha cruncher and there is no better version, you'll have to do it on a non-Amiga. Personally, I suspect file name/file system trouble.
Photon is offline  
Old 17 July 2011, 15:05   #6
source
Zone Friend
 
Join Date: Jul 2005
Location: Toronto, Canada
Posts: 655
thanks for the replys. it looks like you can create an env file that you can set up the temp directory.
source is offline  
Old 17 July 2011, 16:31   #7
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 1,725
You can specify a work directory for temp files with the option "-w".
daxb is offline  
Old 18 July 2011, 16:53   #8
source
Zone Friend
 
Join Date: Jul 2005
Location: Toronto, Canada
Posts: 655
Thanks guys. I was even able to archive a cd image 294 meg. It took a while, but it worked.
source is offline  
AdSense AdSense  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Huge slowdown with low-latency vsync + no buffering + interlaced screen mark_k support.WinUAE 11 27 April 2012 21:30
No-buffering display mode with zero screen tearing, the next step? Dr.Venom support.WinUAE 87 22 January 2012 18:08
Triple buffering atchoo support.WinUAE 29 30 November 2011 11:58
flawless double buffering dalton Coders. General 2 17 May 2011 07:09
AGA double buffering using ChangeScreenBuffer() NovaCoder Coders. General 1 03 November 2010 00:34

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:10.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Page generated in 0.19319 seconds with 11 queries