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 7795957
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T23:13:21+00:00 2026-06-01T23:13:21+00:00

Doc says: Starting with AIR 3 and Flash player 11, the size limits for

  • 0

Doc says:

Starting with AIR 3 and Flash player 11, the size limits for a
BitmapData object have been removed. The maximum size of a bitmap is
now dependent on the operating system.

But, why can’t I have 120,000 x 120,000 px BitmapData object? I’m on OS X Lion with 64 bit kernel.

Now 120,000 ^ 2 would give me 14,400,000,000 pixels I need to occupy, which takes only 34 bits to store that int. But apparently I can have 64 bit integers, no? Do I miss something? And what does it mean “dependent on the operating system”? How?

  • 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-01T23:13:23+00:00Added an answer on June 1, 2026 at 11:13 pm

    Since when is a BitmapData pixel equivalent to a single bit? Remember that you are dealing with color information, so each pixel occupies at least a uint(=> size:32 bits, or 4 Bytes).

    Which, then, means that your memory consumption is actually

    120000^2 * 4 => 57,600,000,000 Bytes => ap. 53,6 GB
    

    Also note that while Number is a 64-bit data type, int and uint are not.

    You might want to consider using a different means of organizing your data.
    If you are dealing with a large picture, you have to split it up into parts of reasonable size. The limits may have been lifted, but I would recommend you restrain yourself to max. 4 times the stage size (that’s small enough for reasonably smooth scrolling, and large enough so you don’t have to place objects on the stage all the time).

    If it is not actual pixel information you want to store, perhaps ByteArray could be a possible alternative.

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

Sidebar

Related Questions

Java doc says - The class Object does not itself implement the interface Cloneable,
The reference doc says that the size constraint: Uses a Groovy range to restrict
When a Xul's listbox have more itens than it can show, the doc says
I'm hesitating whether or not to use this mechanism. PHP Doc says autoloading is
1.Does dynamic proxy instance subclass the target class? The java doc says the proxy
In CF9 doc: Defining components and functions in CFScript , it says: /** *Comment
My doc strings have references to other python classes that I've defined. Every time
Each Lucene doc is a recipe, and each of these recipes have ingredients. Im
The Android doc says Like activities and the other components, services run in the
TestNG doc says create an xml as below. <!DOCTYPE suite SYSTEM http://testng.org/testng-1.0.dtd > <suite

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.