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

  • Home
  • SEARCH
  • 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 6347971
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T21:19:44+00:00 2026-05-24T21:19:44+00:00

I am working with Perl for some months now. As for now, my scripts

  • 0

I am working with Perl for some months now.
As for now, my scripts work but they are far from being perfect.

I would now like to optimize the memory usage, thus I am looking for a way to break down the memory usage per variable/hash.

Is there a way to see how much memory a variable uses?

  • 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-05-24T21:19:45+00:00Added an answer on May 24, 2026 at 9:19 pm

    Devel::Size or Devel::Size::Report can be used to get memory usage for a variable/structure.

    You might want to check perl guts illustrated to see what the numbers really mean.

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

Sidebar

Related Questions

I'm working on some Java <-> Perl interaction. I would like to know what
I've some problem when working on remote files (perl scripts) with Komodo IDE. There
I am working on a Perl script to read CSV file and do some
I am working on a little Perl module and for some reason I had
I have a program in Perl I'm working on where I would need multiple
Perl newbie here...I had help with this working perl script with some HASH code
I've written some fairly extensive Perl modules and scripts using the Perl bindings SVN::Client
I have some regexes in a Perl script that are correct but slow. I
OK, so two questions on odd syntax. I am working on some older Perl
I've written some Perl programs and am planning on distributing them. They're part of

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.