Package com.facebook.presto

Examples of com.facebook.presto.ExceededMemoryLimitException


                return null;
            }

            // Only partial aggregation can flush early. Also, check that we are not flushing tiny bits at a time
            if (!finishing && step != Step.PARTIAL) {
                throw new ExceededMemoryLimitException(memoryManager.getMaxMemorySize());
            }

            outputIterator = aggregationBuilder.build();
            aggregationBuilder = null;
View Full Code Here


            }
            else {
                aggregation.addInput(page);
            }
            if (!memoryManager.canUse(aggregation.getEstimatedSize())) {
                throw new ExceededMemoryLimitException(memoryManager.getMaxMemorySize());
            }
        }
View Full Code Here

        long delta = newMemoryReservation - memoryReservation.get();

        // currently, operator memory is not be released
        if (delta > 0 && !reserveMemory(delta)) {
            throw new ExceededMemoryLimitException(getMaxMemorySize());
        }

        return newMemoryReservation;
    }
View Full Code Here

                return null;
            }

            // Only partial aggregation can flush early. Also, check that we are not flushing tiny bits at a time
            if (!finishing && step != Step.PARTIAL) {
                throw new ExceededMemoryLimitException(memoryManager.getMaxMemorySize());
            }

            outputIterator = aggregationBuilder.build();
            aggregationBuilder = null;
View Full Code Here

            }
            else {
                aggregation.addInput(page);
            }
            if (!memoryManager.canUse(aggregation.getEstimatedSize())) {
                throw new ExceededMemoryLimitException(memoryManager.getMaxMemorySize());
            }
        }
View Full Code Here

        long delta = newMemoryReservation - memoryReservation.get();

        // currently, operator memory is not be released
        if (delta > 0 && !reserveMemory(delta)) {
            throw new ExceededMemoryLimitException(getMaxMemorySize());
        }

        return newMemoryReservation;
    }
View Full Code Here

                return null;
            }

            // Only partial aggregation can flush early. Also, check that we are not flushing tiny bits at a time
            if (!finishing && step != Step.PARTIAL) {
                throw new ExceededMemoryLimitException(memoryManager.getMaxMemorySize());
            }

            outputIterator = aggregationBuilder.build();
            aggregationBuilder = null;
View Full Code Here

            }
            else {
                aggregation.addInput(page);
            }
            if (!memoryManager.canUse(aggregation.getEstimatedSize())) {
                throw new ExceededMemoryLimitException(memoryManager.getMaxMemorySize());
            }
        }
View Full Code Here

            }
            else {
                aggregation.addInput(page);
            }
            if (!memoryManager.canUse(aggregation.getEstimatedSize())) {
                throw new ExceededMemoryLimitException(memoryManager.getMaxMemorySize());
            }
        }
View Full Code Here

                return null;
            }

            // Only partial aggregation can flush early. Also, check that we are not flushing tiny bits at a time
            if (!finishing && step != Step.PARTIAL) {
                throw new ExceededMemoryLimitException(memoryManager.getMaxMemorySize());
            }

            outputIterator = aggregationBuilder.build();
            aggregationBuilder = null;
View Full Code Here

TOP

Related Classes of com.facebook.presto.ExceededMemoryLimitException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.