Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: I ran out of memory

by ido50 (Scribe)
on Aug 26, 2004 at 17:06 UTC ( [id://386086]=note: print w/replies, xml ) Need Help??


in reply to Re: I ran out of memory
in thread I ran out of memory

Well, I am using DB_File so it's not a flat-file, but still not a very efficient database. What bothers me is that, even if the database isn't that good, it currently stores only a few entries, so I really can't see why the program fails. I am using DBM databases for quite a while and never had this problem...

-------------------------
Live fat, die young

Replies are listed 'Best First'.
Re^3: I ran out of memory
by ido50 (Scribe) on Aug 26, 2004 at 17:55 UTC
    Okay so I've done a little test and deleted all the dbm database files created by the program. I executed the program again, and this time it worked (To the fair amount of complaining that it didn't find the database files).

    So I guess we are looking on a database problem here. One question: My host has the DBI module installed, but only a few DBD modules. Let's say I simply upload a module like DBD::SQLite to a certain directory, use lib on that directory and try to use the module I've just uploaded. Will it work? Or would it require a "traditional" installation?

    -------------------------
    Live fat, die young
      Let's say I simply upload a module like DBD::SQLite to a certain directory, use lib on that directory and try to use the module I've just uploaded. Will it work? Or would it require a "traditional" installation?
      In this case the module requires a "traditional" installation, as DBD::Sqlite has XS and C code that needs to be compiled. If you could some how contrive to compile it on another box set up *exactly* the same was as the one you wish to transfer it to (same OS, same kernel version, same libs and so forth) you could theoretically transfer just the compiled files to the host, but that is unlikely.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (8)
As of 2024-04-18 17:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found