Skip to content

pubsub: machine runs out of memory and crashes #3056

@jeanbza

Description

@jeanbza

Hello! I'm running a simple pubsub consumer. This consumer receives a message, waits 5 seconds, and then acks the message. Running this consumer against a subscription with ~600,000 messages causes my app to repeatedly crash as it runs out of memory. This is running on GKE with no special configuration. I'm also using the java config defaults where possible. Possibly worth noting is that I do not see any warning/error logs related to these restarts.

Is this expected? What can be done to prevent this?

Screenshots

screen shot 2018-03-17 at 5 07 41 pm

screen shot 2018-03-17 at 5 11 10 pm

Repro

Metadata

Metadata

Assignees

Labels

api: pubsubIssues related to the Pub/Sub API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions