Results 1 to 1 of 1

Thread: Simply script for wordlist - maximum file size

  1. #1
    Just burned his ISO
    Join Date
    Jun 2010
    Posts
    2

    Default Simply script for wordlist - maximum file size - help!!!

    Hi all

    I'm trying to sort a big file(over 400mb) using the following script(very simple) for this task:

    #!/bin/bash

    for x in $(cat 'file.txt');
    do echo $x;
    done | sort | uniq

    That's all ok until I process file below 120 mb. If I try to process files more than this I got this:

    ./k2.sh: xmalloc: ../bash/make_cmd.c:100: cannot allocate 4 bytes (2906546176 bytes allocated)

    I have a BT 5 KDE and a dual core with 4 Gb ram.

    I must admit that could be so simply(or not?) but I cannot found a good answer to this and tried many searches. Google included.

    thank you
    Fulano35
    Last edited by fulano35; 01-05-2012 at 12:39 AM.

Similar Threads

  1. Max size on wordlist files?
    By voidnecron in forum Beginners Forum
    Replies: 5
    Last Post: 05-17-2010, 06:56 PM
  2. Wordlist Generator Script - Revamping Original Wordlist
    By mcurran in forum OLD Programming
    Replies: 5
    Last Post: 01-22-2010, 06:13 AM
  3. maximum wordlist size
    By cain#1 in forum OLD Newbie Area
    Replies: 9
    Last Post: 06-25-2009, 05:52 PM
  4. Size of wordlist file
    By hm2075 in forum OLD General IT Discussion
    Replies: 3
    Last Post: 04-09-2009, 08:36 PM
  5. File size changes!!! netcat
    By BigMac in forum OLD Newbie Area
    Replies: 3
    Last Post: 07-11-2008, 08:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •