Skip to content

Commit

Permalink
#19 decrease item-count to avoid OutOfMemory exception
Browse files Browse the repository at this point in the history
  • Loading branch information
mincong-h committed Jun 5, 2016
1 parent 392a40b commit 7072f6f
Showing 1 changed file with 2 additions and 2 deletions.
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<job id="print-addresses-job" xmlns="http://xmlns.jcp.org/xml/ns/javaee"
<job id="massIndex" xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/jobXML_1_0.xsd"
version="1.0">
Expand All @@ -22,7 +22,7 @@
</batchlet>
</step>
<step id="produceLuceneDoc">
<chunk item-count="10">
<chunk item-count="3">
<reader ref="batchItemReader"/>
<processor ref="batchItemProcessor"/>
<writer ref="batchItemWriter"/>
Expand Down

0 comments on commit 7072f6f

Please sign in to comment.