Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory exhausted on Lexvo English page #98

Closed
osma opened this issue Sep 25, 2014 · 2 comments
Closed

Memory exhausted on Lexvo English page #98

osma opened this issue Sep 25, 2014 · 2 comments
Milestone

Comments

@osma
Copy link
Member

osma commented Sep 25, 2014

At which URL did you encounter the problem?

http://finto.fi/lexvo/en/page/eng

What steps will reproduce the problem?

  1. Go to Lexvo page for English language

What is the expected output? What do you see instead?

Expected to see all information. But the page is truncated, the matching concepts are not shown etc. PHP fails with a memory error:

[Thu Sep 25 17:32:33 2014] [error] [client 128.214.71.212] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 6922638 bytes) in /var/www/finto.fi/model/Model.php on line 504, referer: http://finto.fi/lexvo/en/

Probably this is caused by loading the DBpedia resource http://dbpedia.org/resource/English_language which is pretty huge (e.g. 8MB in RDF/XML, about 50k triples).

@osma osma added this to the 0.6 milestone Sep 25, 2014
@osma
Copy link
Member Author

osma commented Sep 26, 2014

Fails with php memory_limit set to 220M, works with 230M.

@osma
Copy link
Member Author

osma commented Sep 26, 2014

Fixed the servers and documented this in the wiki (Installation and Upgrading).

@osma osma closed this as completed Sep 26, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant