mirror of https://github.com/apache/lucene.git
don't allocate 128MB of ram in this assert
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1223047 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
742a565253
commit
17438c9eac
|
@ -100,8 +100,8 @@ public class TestSort extends LuceneTestCase {
|
|||
private void assertFilesIdentical(File golden, File sorted) throws IOException {
|
||||
assertEquals(golden.length(), sorted.length());
|
||||
|
||||
byte [] buf1 = new byte [64 * 1024 * 1024];
|
||||
byte [] buf2 = new byte [64 * 1024 * 1024];
|
||||
byte [] buf1 = new byte [64 * 1024];
|
||||
byte [] buf2 = new byte [64 * 1024];
|
||||
int len;
|
||||
DataInputStream is1 = new DataInputStream(new FileInputStream(golden));
|
||||
DataInputStream is2 = new DataInputStream(new FileInputStream(sorted));
|
||||
|
|
Loading…
Reference in New Issue