Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Perl out of memory

by Anonymous Monk
on Feb 29, 2012 at 20:33 UTC ( [id://957026]=note: print w/replies, xml ) Need Help??


in reply to Re: Perl out of memory
in thread Perl out of memory

Here are the first lines

use Net::LDAP; $ldap = Net::LDAP->new('ip address') or die("Could not get to server") +; # bind to a directory with dn and password $mesg = $ldap->bind( 'user dn', password => 'password' );

the problem is I really don't know how to code in perl, someone wrote this script and left it with me. I appreciate the suggestions but I am not familiar with some of the things you guys have mentioned. This ends up exporting a 254mb file and gets out of memory. Its 160k users with attributes.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://957026]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-19 21:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found