Page 1 of 1

Undo&fill selection for large amounts of data (entire disks)

Posted: 06 Oct 2008 21:58
by kubsztal
I got this error when I tried to fill 2GB SD card with zeros (open as physical disc/select all/fill selection). RAM was consumed in ca. 98% and card was supposed to be filled in ca. 70% (I didn't write the changes).
Regards, Kubsztal.

Re: Out of memory error

Posted: 07 Oct 2008 17:23
by Maël
Hi Kubsztal,

This isn't really a bug. The reason is as you said that there isn't any free RAM left. That's because for the undo-operation data is stored into RAM, in this case the whole 2GB sd card.

A direct mode or limited undo would be the solution. So I move that to Enhancement requests and renamed it "Undo&fill selection for large amounts of data (entire disks)".

Re: Undo&fill selection for large amounts of data (entire disks)

Posted: 07 Oct 2008 17:27
by Maël
BTW, currently the only solution is to fill ony the first half of your card save the changes, then fill the second part and again save the changes.

Re: Undo&fill selection for large amounts of data (entire disks)

Posted: 08 Oct 2008 19:50
by kubsztal
Dirrect access would be a good solution in my opinion. Also maybe pagefile/virtual memory could be used for undo purposes or even simple hidden file if there is enough space on one of partitions. Keep up the good work!

Memory leak

Posted: 02 Dec 2008 02:50
by asmix
Filling all HDD space with zeros use all free memory and then crash.

Re: Memory leak

Posted: 08 Dec 2008 16:35
by Maël
All edit functions including filling a hard disk are limited by the amount of free RAM. There will be "immediate" function in future to address this problem.

Does it really crash, or just say out of memory? If it crashed could you please give details on what happens and how that crash manifests?

insert bytes

Posted: 01 Feb 2009 01:51
by g4qber
1. ctrl N
2. edit, insert bytes
3. dec 5 000 000 000 (Edit: on my machine dec 9000000000)
get
"Assertion fehlges"
assertion.jpg
assertion.jpg (9.02 KiB) Viewed 12223 times
compare with
1. ctrl N
2. edit, insert bytes
3. dec 2 000 000 000

get
"Out of memory"
out.jpg
out.jpg (4.99 KiB) Viewed 12223 times
1. ctrl N
2. edit, insert bytes
3. dec 3 000 000 000

get
"Access violation"
access.jpg
access.jpg (9.99 KiB) Viewed 12223 times
Edited for documentation purposes.

Re: Memory leak

Posted: 03 Feb 2009 18:57
by asmix
Sorry for long time answer.
Program crashed only once and i can't reproduce this crash again. Maybe some strange circumstaces.
As you say earlier program write message "Out of memory".
That's all.

P.S. I'll find error message that caused a crash, it's third screenshot in this topic http://forum.mh-nexus.de/viewtopic.php?f=3&t=288, but i guess there are some other numbers.

Re: insert bytes

Posted: 06 Mar 2009 21:19
by Maël
See also bug-tracker item #158.