Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7928579
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T19:46:29+00:00 2026-06-03T19:46:29+00:00

Recently I ran into a problem – my current method of transferring language strings

  • 0

Recently I ran into a problem – my current method of transferring language strings across multiple sites used up too much memory. Basically I simply created an array of data on one server and echoed it out with json.

E.g. –

$data = array(1, 2, 3);
echo json_encode($data);

PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 2302769209 bytes) in [..]

The main idea is to transfer language strings from a language editor to my site as soon as my client clicks update.

The thing is, this x-fer is going on quite frequently (as soon as my client clicks the update button on the site) and it’d be hard to do always do it by hand.

So my question is:
How do you transfer such a large array of data across multiple sites?

Obviously, my solution wasn’t good enough.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T19:46:31+00:00Added an answer on June 3, 2026 at 7:46 pm

    I had some experience with such questions. Simple way to fix your problem is to split that array for some requests.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I recently ran into this problem: Rails 3 link_to (:method => :delete) not working
Here's a problem I ran into recently. I have attributes strings of the form
A problem I recently ran into was that when trying to update a field
I recently ran into a familiar javascript/jQuery timing bug and spent too long debugging
I recently ran into a quite complex problem and after looking around a lot
I recently started programming my first Cocoa app. I have ran into a problem
I've began working with asp.net mvc very recently and I've ran into a problem.
Recently, I ran into a mysterious problem in an android project, which I described
Recently I ran into a fun problem with the Microsoft implementation of the CRTL.
Recently, I ran into a problem with my application: the size of the JSON

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.