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

Wishlists for new functionality and features.
Post Reply
kubsztal
Posts: 2
Joined: 06 Oct 2008 21:45

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

Post 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.
Maël
Site Admin
Posts: 1455
Joined: 12 Mar 2005 14:15

Re: Out of memory error

Post 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)".
Maël
Site Admin
Posts: 1455
Joined: 12 Mar 2005 14:15

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

Post 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.
kubsztal
Posts: 2
Joined: 06 Oct 2008 21:45

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

Post 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!
asmix
Posts: 10
Joined: 02 Dec 2008 02:40

Memory leak

Post by asmix »

Filling all HDD space with zeros use all free memory and then crash.
Maël
Site Admin
Posts: 1455
Joined: 12 Mar 2005 14:15

Re: Memory leak

Post 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?
g4qber
Posts: 2
Joined: 01 Feb 2009 01:34

insert bytes

Post 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 12219 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 12219 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 12219 times
Edited for documentation purposes.
asmix
Posts: 10
Joined: 02 Dec 2008 02:40

Re: Memory leak

Post 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.
Maël
Site Admin
Posts: 1455
Joined: 12 Mar 2005 14:15

Re: insert bytes

Post by Maël »

See also bug-tracker item #158.
Post Reply