Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

`transition': failed to allocate memory (NoMemoryError) #30

Closed
jonatasdlp opened this issue Oct 4, 2014 · 2 comments
Closed

`transition': failed to allocate memory (NoMemoryError) #30

jonatasdlp opened this issue Oct 4, 2014 · 2 comments
Labels

Comments

@jonatasdlp
Copy link

@jonatasdlp jonatasdlp commented Oct 4, 2014

Hi,

When i'm run the local server (webrick or puma), the following error occurs.
/my_home/.rvm/gems/ruby-2.1.3/gems/tzinfo-1.1.0/lib/tzinfo/transition_data_timezone_info.rb:79:in `transition ': failed to allocate memory (NoMemoryError)

This error occurs using another ruby version (2.0.0, 2.1.2).

Solution?

@jonatasdlp jonatasdlp changed the title `transition': failed to allocate memory (NoMemoryError `transition': failed to allocate memory (NoMemoryError) Oct 4, 2014
@philr
Copy link
Member

@philr philr commented Oct 4, 2014

TZInfo v1.2.1 included a fix for an issue like this when loading zoneinfo files generated with zic version 2014c and later.

It looks like you are using an older version of TZInfo (1.1.0), so it would be a good idea to try updating to the latest release (currently v1.2.2).

If you can't upgrade TZInfo, you could try installing the tzinfo-data gem instead (e.g, but adding gem 'tzinfo-data' it to your Gemfile). This will make TZInfo use tzinfo-data as its DataSource instead of your system zoneinfo files.

If neither of these suggestions help, then I'll need more information to help diagnose the problem (full stack trace, details of the time zone being loaded, the configured data source, etc).

@jonatasdlp
Copy link
Author

@jonatasdlp jonatasdlp commented Oct 4, 2014

Thanks

@philr philr added the question label Oct 4, 2014
@philr philr closed this Oct 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.