Topic: not enough resources during Copy (1 of 5), Read 29 times
Conf: Search and Replace
From: Chris Tammes
Date: Thursday, July 28, 2005 06:21 AM

Hi,

When I want to copy a text block of approximately 31 Mb from a file that is open in the editor, after some time I get an message saying "Not enough Vedit resources for operation".
I tried this with Vedit64 as well: same result.
As far as I can see, there is plenty of (swap)memory available.
Any suggestions??

Chris.

 


Topic: Re: not enough resources during Copy (2 of 5), Read 25 times
Conf: Search and Replace
From: Ted Green
Date: Thursday, July 28, 2005 09:28 AM

At 06:22 AM 7/28/2005, you wrote:
>When I want to copy a text block of approximately 31 Mb from a file that is open in the editor, after some time I get an message saying "Not enough Vedit resources for operation".
>I tried this with Vedit64 as well: same result.
>As far as I can see, there is plenty of (swap)memory available.

I assume you are copying to the clipboard. Please be specific, as VEDIT has five different way of copying a block.

The Windows clipboard is very slow on such huge blocks. That error simply indicates that Windows returned a "Too big for clipboard" error to VEDIT.

It is better and much faster to copy the block to an explicit file with {FILE, Save block as}.

You didn't say what you were copying to, so my answer stops here.

Ted.

 


Topic: Re: not enough resources during Copy (3 of 5), Read 25 times
Conf: Search and Replace
From: Chris Tammes
Date: Thursday, July 28, 2005 10:53 AM

I used a simple Ctrl-C to copy. I'll try some other ways ...

Chris.

 


Topic: Re: not enough resources during Copy (4 of 5), Read 24 times
Conf: Search and Replace
From: Chris Tammes
Date: Friday, July 29, 2005 04:49 AM

Ted,

I tried "Save block as" and that does the job. I also used "Copy to cursor", but that is much slower, although the block is copied from one buffer to another.

Thanks.
Chris.

 


Topic: Re: not enough resources during Copy (5 of 5), Read 26 times
Conf: Search and Replace
From: Ted Green
Date: Friday, July 29, 2005 12:02 PM

At 04:50 AM 7/29/2005, you wrote:
>I tried "Save block as" and that does the job. I also used "Copy to cursor", but that is much slower, although the block is copied from one buffer to another.

Chris:

Good to hear that you are using all the different ways that VEDIT can copy/paste blocks. Yes, "Copy to cursor" is a bit slower, but should still be faster than using the Clipboard.

I don't think I have ever been able to copy more than 32 or 64 megs of
text to the Win clipboard using any text editor; and that after a lot of disk churning. I believe the clipboard contents must be memory resident, the disk churning is an attempt to swap other programs out to disk.

In any case, it is better to use the non-clipboard methods of copy/paste.

Ted.