Technical knowledge of coreseek

Source: Internet
Author: User
After coreseek is installed, the test is normal, and the actual application starts to use the phpcms environment.
After the index is re-built, the search is started.
After clicking search, the message "Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 775172097 bytes) in D: \ WWW \ phpcms \ modules \ search \ classes \ sphinxapi" is displayed. class. php on line 637
Then, change the memory value in php. ini to 2048 M, that is, memory_limit = 2048 M.
Restart the service, re-create the index, and then click SEARCH. the problem persists. you have to say it is a difficult problem.


Reply to discussion (solution)

Tried to allocate 775172097 bytes

768 MB memory is required.
You should have enough to change php. ini to memory_limit = 2048 M.
After you modify it, it will still display
Allowed memory size of 134217728?
If yes, no modification is successful.

In this way, add ini_set ('memory _ limit ', '2048m') to the php page ');

Restart the php script running process, or check whether the file path you modified is actually read by the server.

This problem is a bit of a turning point... hahahaha

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.