A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2008-July/081609.html below:

[Python-Dev] Memory Error while reading large file

[Python-Dev] Memory Error while reading large file [Python-Dev] Memory Error while reading large fileSteven D'Aprano steve at pearwood.info
Thu Jul 31 09:02:29 CEST 2008
On Thu, 31 Jul 2008 03:01:42 pm Sumant Gupta wrote:
> Hi
>
> I have a problem reading very large text file.
> When I call the len function to get the total lines in python file.i
> get memory error . I am reading the list of files in a loop ,2 files
> are read properly but when the third file is read , It gives an
> memory error .

I'm not completely sure, but I think that means you're out of memory.

If you have an actual question, I think you would be better off posting 
to the comp.lang.python newsgroup. This mailing list is for development 
of the Python compiler, not for writing Python programs.

I'll save you some time: when you post to comp.lang.python, you should 
post the actual error message you get, and the code that fails.


-- 
Steven
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4