Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 28 May 2015 08:24:36 +0200
From: magnum <john.magnum@...hmail.com>
To: john-users@...ts.openwall.com
Subject: Re: Memory leak in regex mode

On 2015-05-28 01:17, Marek Wrzosek wrote:
> W dniu 28.05.2015 o 00:22, magnum pisze:
>> On 2015-05-27 23:52, Marek Wrzosek wrote:
>>> Hi
>>>
>>> Today I fortunately was running top in one of terminal and I've observed
>>> that john with --loopback and --regex is using almost all memory. I've
>>> just found another pretext for dropping librexgen. ;-)
>>
>> Perhaps you confused virtual memory with actually used RAM? Wordlist and
>> loopback modes normally memory-map stuff. It's not "using" memory more
>> than the normal OS caches are. That is, unless someone needs it, let's
>> use it.
>>
>> magnum
>>
>>
> Normally (not using regex) john in loopback or wordlist mode is not
> using all RAM. With regex percentage of used memory was fast increasing
> and system started to swap. I've 6GB RAM on my laptop, there was more
> than 2GB in swap, normally swap is almost all free.

That does sound like a memory leak. Well we have an open issue for 
regex. It needs some serious overhaul after API changes, and there are 
possibly bugs in the lib.

magnum


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.