itschrispeck opened a new pull request, #11186:
URL: https://github.com/apache/pinot/pull/11186

   We've observed this exception, blocking ingestion:
   ```
   j.l.IllegalArgumentException: Illegal memory allocation -2116790016 for 
segment <table>__0__50__20230724T1340Z column 
<table>__0__50__20230724T1340Z:message_encodedVars.mv.raw.fwd 
   at c.g.common.base.Preconditions.checkArgument(Preconditions.java:135) 
   at 
o.a.p.s.l.i.r.RealtimeIndexOffHeapMemoryManager.allocate(RealtimeIndexOffHeapMemoryManager.java:83)
 
   at 
o.a.p.s.l.r.i.f.FixedByteMVMutableForwardIndex.addDataBuffer(FixedByteMVMutableForwardIndex.java:169)
 
   ... 21 common frames omitted 
   Wrapped by: java.lang.RuntimeException: Error while expanding the capacity 
by allocating additional buffer with capacity:272272160 
   at 
o.a.p.s.l.r.i.f.FixedByteMVMutableForwardIndex.addDataBuffer(FixedByteMVMutableForwardIndex.java:176)
 
   at 
o.a.p.s.l.r.i.f.FixedByteMVMutableForwardIndex.<init>(FixedByteMVMutableForwardIndex.java:142)
 
   at 
o.a.p.s.l.s.i.f.ForwardIndexType.createMutableIndex(ForwardIndexType.java:300) 
   at o.a.p.s.l.s.i.f.ForwardIndexType.createMutableIn...
   ```
   
   The negative size comes from an int overflow from unsafe multiplication of 
two ints.


-- 
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: commits-unsubscr...@pinot.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to