CocoaPods / search.cocoapods.org

This is the CocoaPods search engine repo, please direct CocoaPods issues to the main CocoaPods repository.
25 stars 11 forks source link

Memory spikes when sending stats #76

Closed floere closed 9 years ago

floere commented 9 years ago

Because we fork for sending the stats to status.cocoapods.org, the memory spikes.

Why? Are we writing when we do so, triggering a COW?

floere commented 9 years ago

Copy-On-Write, not a :cow: ;)

alloy commented 9 years ago

alloy commented 9 years ago

Can you reproduce it locally and do you have a debug build of Ruby? If so, it's probably easiest to do some heap analysis? (e.g. with Instruments.app's Heapshot instrument.)

floere commented 9 years ago

That's probably possible :) And I keep forgetting about Instrument.app.

This is not an actual problem we have (it's ok to go over the memory limit for a short time), just something I am wondering about.

alloy commented 9 years ago

Ah ok, well, there was your half-yearly reminder about Instruments.app ;)

floere commented 9 years ago

I've already forgotten about it again ;)

alloy commented 9 years ago

Sorry, won’t remind you for another 181.5 days!

floere commented 9 years ago

@alloy Let's see how Ruby 2.2 fares. Maybe it won't do a COW when just accessing a hash.

floere commented 9 years ago

@alloy MUST REMEMBAH

orta commented 9 years ago

lol. COW.

AliSoftware commented 9 years ago

floere commented 9 years ago

C'est réparé!