There are several compression methods available.
This method calls an external compression program to do the compression. The default is set to gzip but can be changed in the defaults.h file at compile time. The compression program is expected to read the file from standard input and write the compressed output to standard output. If your compression program doesn't do this, you will have to modify the taper sources.
This is a very good compression method - it is very fast and reasonably good at compression. Because of this, it is the default compression method. The only problem is that is uses an extra 2MB of memory which can degrade system performance on heavily loaded machines.
This method is basically the gzip compression method, however, the source has been hacked around to accommodate taper. The advantage of using this over the external compression method is that it is a bit quicker because it is internal, however, it is still a very slow compression method. The other disadvantage is that although the compression method is that of gzip, it doesn't produce compressed files that can be read by gzip. You need taper to read the archives.
In summary then:
You should use compression 2 unless you have a very heavily loaded system or less than 4MB of RAM.
If taper is still too memory hungry for you, try the following:
#define COMPRESS2_BUFFER_SIZE 1000000
You will not be able to use compress-type 2, but if memory is a problem, you shouldn't be using this anyway.
#define COMPRESS2_BUFFER_SIZE 1
This assumes that the maximum filename length you have is 125 characters. If this is not the case, change it to match your system.
#define MAXNAMLEN 125