Popular Posts

Saturday, January 17, 2015

MongoDB aggregation result exceeds maximum document size (16MB)

MongoDB aggregation result exceeds maximum document size (16MB)
 
{
    "errmsg" : "exception: aggregation result exceeds maximum document size (16MB)",
    "code" : 16389,
    "ok" : 0
}

Solution : allowDiskUse to true or limit critera to max elements


Example

AggregationOptions aggregationOptions = new AggregationOptions(true,false,null);
Aggregation aggregation = newAggregation(
match(criteria),
limit(10),
sort(Sort.Direction.ASC,  "OrderSubmissionDate")
).withOptions(aggregationOptions);

13 comments:

  1. Hi ,
    allowDiskUse: true is not working for me . I am using java-spring-mongoDB version of 1.9.2 .
    can you please help me.

    ReplyDelete
  2. medical care is what many people lack in the interior areas of the world. people face a lot of health issues everyday without solution. buy psychedelics online, Buy weed online, Buy alprazolam online

    ReplyDelete
  3. magnificentincense.com
    24K Monkey Classic Incense 10g
    AK-47 – X10 / PREMIUM
    Bizarro Incense
    Buy Black Mamba Incense Online
    Buy WTF Herbal Incense
    Cloud9 Mad Hatter Incense
    Crazy Monkey Incense
    k2 spray on paper
    k2 paper sheets
    Klimax Potpourri 15xxx Coconut(10g)
    Crazy Monkey Incense
    Cloud9 Mad Hatter Incense
    Buy Purple Diesel Incense Online
    Buy Pure Fire Herbal Incense Online
    Buy Kisha Cole Incense (11g) online
    Buy KUSH HERBAL INCENSE online
    Buy Mind Trip Incense Online
    Buy Platinum XXX Herbal Incense online
    buy Orange Platinum Caution 10G
    Buy OMG HERBAL POTPOURRI 10G online

    ReplyDelete
  4. Buy Cocaine,coka block.ketamine,herion,crystal meth ,weed,mdma ,bmk oil and powder ,LSD,DMT

    text or call....+1(725) 333-4092 
    whatsapp ....... +1(725) 333-4092 
    wicker...............pharma240

    ReplyDelete
  5. https://syntheticworldwide.com/
    sales@syntheticworldwide.com

    Buy cheap liquid herbal incense at your best online shop

    ReplyDelete
  6. Email Us:- inkdrop121@gmail.com

    We produce Unique Real Registered Documents with Best Quality Novelty.
    All our pdocuments are undetectable and will pass all Ultraviolet light Test
    such documents includes:
    -Passport
    -Drivers License
    -National Identification Card
    -Resident Permit
    -Visa/Invitation
    -Diploma Certificate
    -Bank Statement and many more

    ReplyDelete
  7. Buy pure Ketamine Crystals Powder online isn't generally 100% unadulterated. There are a couple of online stores that sell great ketamine precious stones and with regards to that then we are perhaps the most presumed ones. Here you will get ketamine gems that is 99.99 percent unadulterated.

    ReplyDelete
  8. köp ketamin
    comprare la ketamina
    買氯胺酮
    ketamint vásárolni
    kupiti ketamin
    Ketamin kaufen
    comprar cetamina
    pirkti ketamino
    osta ketamiini
    osta ketamiini veebis
    pirkti ketamino internete
    comprar cetamina online
    kup ketaminę online
    Ketamin online kaufen
    comprar cetamina online
    купить кетамин онлайн
    kjøp ketamin online
    köp ketamin online
    buy online ketamine
    buy ketamine
    order ketamine online
    ut ketamine online
    beställ ketamin online
    bestill ketamin online
    заказать кетамин онлайн
    Ketamin online bestellen
    online ketamine bestellen
    pedir ketamina en línea




    call/text/<<<<<<<< +1(505)257-5355
    WICK...R>>>>>>ROBERTGREEN1020

    email...bcvsgea1124@gmail.com

    ReplyDelete
  9. Buy Real Driver’s License Online | Buy Driving License Online In Europe | Driver Licenses and Permits | Buy Passport Online | Buy Resident Permit Online | Buy Diploma Certificate Online | Buy National Identification Card | Buy ID Card Online | Passport for Sales Online

    Contact us at: inkdrop121@gmail.com

    Secure Your Registered Driver’s License and Genuine Passport Documents

    Are you in need of a registered driver's license or authentic passport documents? We specialize in producing legally valid and verifiable documents tailored to your needs.

    Our Document Services Include:

    - Passport
    - Driver’s License
    - National Identification Card
    - Resident Permit
    - Visa/Invitation
    - Diploma Certificate

    If you are interested in obtaining any of these documents, please contact us for prompt and efficient service.

    Contact us at:
    Email: inkdrop121@gmail.com
    Email: inkdrop121@gmail.com

    We look forward to assisting you with your documentation needs.

    ReplyDelete