deploy search index -- throwing Cannot allocate memory at java.lang.ProcessBuilder.start(ProcessBuilder.java:475)

121 views
Skip to first unread message

Kadinamkulam

unread,
Sep 28, 2012, 1:08:50 PM9/28/12
to atg_...@googlegroups.com
Hi All,

I am trying to do search indexing and while deploying "Deploy Index", it throws the below error.

Could you please throw some lights on t his issue, I got some reference from the PDF like below.

Any thoughts on getting a quick turn around.

Warm Regards
KdM




2012-09-27 18:16:25,911 ERROR [RoutingSystemService] Error starting SearchEngine - 11500020 at myvm1:6074, message: atg.search.routing.SearchEngineLaunchException: java.io.IOException: Cannot run program "/data/atg/ATG/ATG9.1/Search9.1/SearchEngine/x86-linux64/bin/atgsearch" (in directory "/data/atg/ATG/ATG9.1/Search9.1/SearchEngine/x86-linux64/bin"): java.io.IOException: error=12, Cannot allocate memory
atg.search.routing.SearchEngineException: atg.search.routing.SearchEngineLaunchException: java.io.IOException: Cannot run program "/data/atg/ATG/ATG9.1/Search9.1/SearchEngine/x86-linux64/bin/atgsearch" (in directory "/data/atg/ATG/ATG9.1/Search9.1/SearchEngine/x86-linux64/bin"): java.io.IOException: error=12, Cannot allocate memory
    at atg.search.routing.SearchEngineServiceImpl.doStart(SearchEngineServiceImpl.java:349)
    at atg.search.routing.SearchEngineService.start(SearchEngineService.java:478)
    at atg.search.routing.StartEngineThread.run(StartEngineThread.java:52)
Caused by: atg.search.routing.SearchEngineLaunchException: java.io.IOException: Cannot run program "/data/atg/ATG/ATG9.1/Search9.1/SearchEngine/x86-linux64/bin/atgsearch" (in directory "/data/atg/ATG/ATG9.1/Search9.1/SearchEngine/x86-linux64/bin"): java.io.IOException: error=12, Cannot allocate memory
    at atg.search.routing.SearchEngineLaunchingService.launchLocal(SearchEngineLaunchingService.java:854)
    at atg.search.routing.SearchEngineLaunchingService.launch(SearchEngineLaunchingService.java:692)
    at atg.search.routing.SearchEngineServiceImpl.doStart(SearchEngineServiceImpl.java:345)
    ... 2 more
Caused by: java.io.IO


Caused by: java.io.IOException: Cannot run program "/data/atg/ATG/ATG9.1/Search9.1/SearchEngine/x86-linux64/bin/atgsearch" (in directory "/data/atg/ATG/ATG9.1/Search9.1/SearchEngine/x86-linux64/bin"): java.io.IOException: error=12, Cannot allocate memory
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:475)
    at java.lang.Runtime.exec(Runtime.java:610)
    at atg.core.util.CommandProcessor.doExec(CommandProcessor.java:186)
    at atg.core.util.CommandProcessor.execAndReadStreams(CommandProcessor.java:240)
    at atg.search.routing.SearchEngineLaunchingService.launchLocal(SearchEngineLaunchingService.java:848)
    ... 4 more
Caused by: java.io.IOException: java.io.IOException: error=12, Cannot allocate memory
    at java.lang.UNIXProcess.<init>(UNIXProcess.java:164)
    at java.lang.ProcessImpl.start(ProcessImpl.java:81)
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:468)
    ... 8 more



################  PDF says ..

Out of Memory Errors
If you have a catalog that includes millions of items and run out of memory during indexing, consider
adjusting the gcCallingRangeSize property of the /atg/search/repository/BulkLoader
component. This component controls how often Java garbage collection is called during indexing. The
default interval is 10000 items. Decrease the setting to run garbage collection more frequently and reduce
the risk of out of memory errors.


############

Kadinamkulam

unread,
Sep 28, 2012, 4:15:32 PM9/28/12
to atg_...@googlegroups.com
Sorry guys , this issue is resolved now .. after trial and error
Reply all
Reply to author
Forward
0 new messages