Topic: Not enough memory for operation (1 of 6), Read 73 times
Conf: Error messages, Crashes
From: Randy Kolb
Date: Friday, June 04, 2004 09:32 PM

Simply trying to cut and paste a 280kb file to an empty new blank page in Vedit 6.11.1 in XP. Getting a "Not enough memory for operation" error box. Works fine in Notepad. Have plenty of Ram - 256mb.

Any suggestions?

 


Topic: Not enough memory for operation (2 of 6), Read 75 times
Conf: Error messages, Crashes
From: Ian Binnie
Date: Friday, June 04, 2004 11:07 PM

On 6/4/2004 9:32:33 PM, Randy Kolb wrote:
>Simply trying to cut and paste
>a 280kb file to an empty new
>blank page in Vedit 6.11.1 in
>XP. Getting a "Not enough
>memory for operation" error
>box. Works fine in Notepad.
>Have plenty of Ram - 256mb.
>

Any suggestions?

This is a common problem which has caught us all out at some time.

If you create a new file, then SaveAs you enable Vedit to perform memory paging, and it should work.

 


Topic: Re: Not enough memory for operation (3 of 6), Read 89 times
Conf: Error messages, Crashes
From: Ted Green
Date: Friday, June 04, 2004 11:37 PM

At 11:07 PM 6/4/2004, you wrote:

>If you create a new file, then SaveAs you enable Vedit to perform memory paging, and it should work.

In VEDIT 6.12, the error message was changed to:

Operation requires an open file - try {FILE, Save as}

In a few other situations 6.12 will now report:

Not enough VEDIT resources for operation

It now never says "not enough memory" because that implied adding more memory to your computer, which is never the case.

Ted.

 


Topic: Re: Not enough memory for operation (4 of 6), Read 94 times
Conf: Error messages, Crashes
From: Christian Ziemski
Date: Saturday, June 05, 2004 04:14 AM

On Fri, 04 Jun 2004 23:37:00 -0400, Ted Green wrote:

>At 11:07 PM 6/4/2004, you wrote:
>
>>If you create a new file, then SaveAs you enable Vedit to perform memory
>paging, and it should work.
>
>In VEDIT 6.12, the error message was changed to:
>
> Operation requires an open file - try {FILE, Save as}


What about an enhanced dialog here:

"Operation requires an open file - try {FILE, Save as}"
[OK] [File save as] [Save as temp. file]

[OK] simply closes the message box as today.

[File save as] starts the standard {File, Save as} dialog

[Save as temp. file] silently does a
File_Save_As("|(VEDIT_TEMP)\VED|(PID).tmp", OK+NOMSG)
(optionally with a message: "Saved to temporary file,
which is deleted after closing VEDIT.)


Christian

 


Topic: Re: Not enough memory for operation (5 of 6), Read 101 times
Conf: Error messages, Crashes
From: Christian Ziemski
Date: Saturday, June 05, 2004 04:15 AM

>>In VEDIT 6.12, the error message was changed to:
>>
>> Operation requires an open file - try {FILE, Save as}
>

Or even a bit more intuitive than my last suggestion:

"The operation requires an open file!
You can
- choose a file to save to by your own
- or let VEDIT use a temporary file,
which is deleted automatically when exiting VEDIT.
Then repeat the operation."

[File save as] [Use temp. file] [Cancel]


[File save as] starts the standard {File, Save as} dialog

[Use temp. file] silently does a
File_Save_As("|(VEDIT_TEMP)\VED|(PID).tmp", OK+NOMSG)

[Cancel] closes the dialog box without any action


Christian

 


Topic: Re: Not enough memory for operation (6 of 6), Read 94 times
Conf: Error messages, Crashes
From: Ted Green
Date: Monday, June 07, 2004 12:24 PM

At 02:27 AM 6/5/2004, you wrote:

>What about an enhanced dialog here:
>
> "Operation requires an open file - try {FILE, Save as}"
> [OK] [File save as] [Save as temp. file]

I don't like the idea of fancy dialog boxes for error break-outs; it can easily lead to an infinite loop of error messages.

Ted.