deshanxiao commented on PR #1278:
URL: https://github.com/apache/orc/pull/1278#issuecomment-1284860203

   > Could you rebase this PR to the `main` branch, @deshanxiao ?
   
   Hi @dongjoon-hyun 
   I tried adding this unit test, but it requires a lot of memory(2GB * 4 =  
8GB).
   I'm worried that this will cause problems with the whole test system.
   But it's easy to reproduce in DynamicByteArray because it requires less 
memory.
   
   do you have any good suggestions?
   
   ```
     @Test
     public void testIntArray2() throws Exception {
       DynamicIntArray array = new DynamicIntArray(10);
       array.set(Integer.MAX_VALUE, 10);
   
       assertEquals(1L + Integer.MAX_VALUE, array.size()) ;
     }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to