search: search hangs for books with large OCR files
Bug #516200 reported by
mangtronix
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Internet Archive BookReader |
Confirmed
|
High
|
mangtronix |
Bug Description
Search hangs for this book (e.g. search for "street"). Possibly happens in other large books.
http://
Changed in bookreader: | |
assignee: | nobody → mangtronix (mang) |
importance: | Undecided → High |
milestone: | none → 0.9.21 |
status: | New → Confirmed |
Changed in bookreader: | |
milestone: | r24 → r25 |
Changed in bookreader: | |
milestone: | r25 → r26 |
Changed in bookreader: | |
milestone: | r26 → r27 |
Changed in bookreader: | |
milestone: | r27 → r29 |
Changed in bookreader: | |
milestone: | r29 → r30 |
To post a comment you must log in.
The existing search implementation exhausts memory. Probably hold off on this until the search rewrite.
2010/02/23 01:37:29 [error] 2207#0: *1103601 FastCGI sent in stderr: "PHP Fatal error: Allowed memory size of 209715200 bytes exhausted (tried to allocate 82161 bytes) in /var/www/ BookReader/ flipbook_ search_ br.php on line 151" while reading response header from upstream, client: 71.202.38.39, server: ia311210. us.archive. org, request: "GET /BookReader/ flipbook_ search_ br.php? url=/2/ items/bostonmas sachuse1916112s amp/bostonmassa chuse1916112sam p_djvu. xml&term= ferries& format= XML&callback= br.BRSearchCall back HTTP/1.1", upstream: "fastcgi: //unix: /tmp/.fastcgi. www-data/ socket: ", host: "ia311210. us.archive. org", referrer: "http:// www.archive. org/stream/ bostonmassachus e1916112samp"