The OOM is at my backend application, the EventStore is actually doing ok.
This is one of the projections that i have :
fromStreams(['$ce-Product', '$ce-User', '$ce-Invoice', '$ce-Shipment']).
when({
'co.styletheory.context.userAndAccount.domain.contracts.user.AccountCreated' : function(s,e) {
linkTo('users', e);
},
'co.styletheory.context.userAndAccount.domain.contracts.user.UserRegistered' : function(s,e) {
linkTo('users', e);
},
'co.styletheory.context.userAndAccount.domain.contracts.user.SubscriptionCreated' : function(s,e) {
linkTo('users', e);
},
'co.styletheory.context.userAndAccount.domain.contracts.user.UserCharged' : function(s,e) {
linkTo('users', e);
},
'co.styletheory.context.invoice.domain.contracts.invoice.ChargeSucceeded' : function(s,e) {
linkTo('users', e);
},
'co.styletheory.context.invoice.domain.contracts.invoice.InvoiceCreatedAndChargeSucceeded' : function(s,e) {
linkTo('users', e);
},
'co.styletheory.context.inventory.domain.contracts.inventory.ProductBooked': function(s,e) {
linkTo('users', e);
},
'co.styletheory.context.inventory.domain.contracts.inventory.ProductBookedForSwap': function(s,e) {
linkTo('users', e);
},
'co.styletheory.context.inventory.domain.contracts.inventory.ProductUnbooked': function(s,e) {
linkTo('users', e);
},
'co.styletheory.context.inventory.domain.contracts.inventory.ProductUnbookedWithStatusRemains': function(s,e) {
linkTo('users', e);
},
'co.styletheory.context.inventory.domain.contracts.inventory.ProductBookedV2': function(s,e) {
linkTo('users', e);
},
'co.styletheory.context.inventory.domain.contracts.inventory.ProductBookedForSwapV2': function(s,e) {
linkTo('users', e);
},
'co.styletheory.context.inventory.domain.contracts.inventory.ProductUnbookedV2': function(s,e) {
linkTo('users', e);
},
'co.styletheory.context.inventory.domain.contracts.inventory.ProductUnbookedWithStatusRemainsV2': function(s,e) {
linkTo('users', e);
},
'co.styletheory.context.shipping.domain.contracts.shipping.ShipmentStatusUpdated': function(s,e) {
linkTo('users', e);
},
'co.styletheory.context.shipping.domain.contracts.shipping.ShippingCreated': function(s,e) {
linkTo('users', e);
},
'co.styletheory.context.shipping.domain.contracts.shipping.ShippingCreatedV2': function(s,e) {
linkTo('users', e);
},
'co.styletheory.context.userAndAccount.domain.contracts.user.BoxStatusUpdated': function(s,e) {
linkTo('users', e);
},
'co.styletheory.context.userAndAccount.domain.contracts.user.BoxStatusUpdatedV2': function(s,e) {
linkTo('users', e);
},
'co.styletheory.context.userAndAccount.domain.contracts.user.BoxStatusUpdatedV3': function(s,e) {
linkTo('users', e);
},
'co.styletheory.context.inventory.domain.contracts.inventory.ProductReviewed': function(s,e) {
linkTo('users', e);
},
'co.styletheory.context.inventory.domain.contracts.inventory.ProductReviewedV2': function(s,e) {
linkTo('users', e);
},
'co.styletheory.context.inventory.domain.contracts.inventory.ProductReviewedV3': function(s,e) {
linkTo('users', e);
},
'co.styletheory.context.inventory.domain.contracts.inventory.ProductIsAlreadyUnbooked': function(s,e) {
linkTo('users', e);
}
});
Running at continous mode and emit enabled. I also have all projection running (all 4 of them, $by_category, $stream, $stream_by_category, $by_event_type).
The setup is just an AWS EC2 t2.medium with an Elastic Block Store using magnetic provisioning set on 5000 IOPS.