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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T04:57:17+00:00 2026-05-24T04:57:17+00:00

I have an application and having memory issues. Everytime I navigate between pages memory

  • 0

I have an application and having memory issues. Everytime I navigate between pages memory usage is increasing.

My Application includes three page:

  • MainPage Panaroma page with 1 menu + 3 dynamic (reading feeds)
    panaroma items
  • HistoryPage another Panaroma Page (3panaroma items) with static
    Textblocks and 2-3 15kb images
  • AboutPage Static Pivot(2items) Page with Textblocks and 1 15kb
    image.

Situation 1:

  • When Application loaded it takes 37mb memory.

  • Then, I navigate to History page and come back to the main page Memory usage increases to 89mb.

  • Then I navigate again to history page and come back now it becomes 109mb. Everytime I navigate memory usage incrising.

Situation 2:

  • When Application loaded it takes 37mb memory.

  • Then, I navigate to About page and come back to the main page Memory usage increases to 54mb.

  • Then I navigate to history page and come back now it becomes 94mb.

What are the causes for this problem? Those contents are static texts and I don’t use any Isolated storage, tombstoning or anything. How can I make it to remove cache when the user navigates from the page.

Thank you inadvance. Please keep in mind and excuse me I am really noob at coding stuffs like that.

Navigation button in MainPage.xaml.cs

private void Button_Click(object sender, EventArgs e)
{
    NavigationService.Navigate(new Uri("/HistoryPage.xaml", UriKind.Relative));
}

HistoryPage.xaml

        <controls:Panorama.Background>
            <ImageBrush Stretch="Fill" ImageSource="backgrounds/PanoramaBackground.jpg"  />
        </controls:Panorama.Background>

        <!--Panorama item one-->
        <controls:PanoramaItem CacheMode="BitmapCache">
            <ScrollViewer x:Name="hede" Margin="12,0,12,0" Grid.Row="1" Width="432" >
                <StackPanel Width="432">
                    <Image Height="220" Name="image1" HorizontalAlignment="Left" Stretch="Fill" Source="images/logo.png" Width="172" Margin="0,30,0,0" />
                    <TextBlock ....
                    <TextBlock ....
                    <TextBlock ....
                    <TextBlock ....
                    <TextBlock ....
                    <TextBlock ....
    </StackPanel>
            </ScrollViewer>
        </controls:PanoramaItem>

        <!--Panorama item two-->
        <controls:PanoramaItem Header="history" CacheMode="BitmapCache">
            <ScrollViewer>
                <StackPanel>
                    <Image x:Name="tarih" Source="images/history.jpg" Stretch="Fill" Width="380" VerticalAlignment="Top" HorizontalAlignment="Left"/>
                    <TextBlock ....
                    <TextBlock ....
                    <TextBlock ....
                    <TextBlock ....
    </StackPanel>
            </ScrollViewer>
        </controls:PanoramaItem>

        <!--Panorama item three-->
        <controls:PanoramaItem Header="achievements" CacheMode="BitmapCache">
            <ScrollViewer>
                <StackPanel>
                    <TextBlock ....
    </StackPanel>
            </ScrollViewer>
        </controls:PanoramaItem>

        <!--Panorama item three-->
        <controls:PanoramaItem Header="contact" CacheMode="BitmapCache">
            <StackPanel>
                <my:Map x:Name="stad" Grid.Row="1"
                        CredentialsProvider=.....
                        LogoVisibility="Collapsed" ScaleVisibility="Visible"
                        Center=..... ZoomLevel="15"
                        CopyrightVisibility="Collapsed" ZoomBarVisibility="Visible" Width="380" HorizontalAlignment="Center">
                    <my:Pushpin Location="....." Content="....."></my:Pushpin>
                </my:Map>
                    <TextBlock ....
                    <TextBlock ....
                    <TextBlock ....
                    <TextBlock ....
    </StackPanel>
        </controls:PanoramaItem>
    </controls:Panorama>
</Grid>

HistoryPage.xaml.cs

public partial class HistoryPage: PhoneApplicationPage
{
    public HistoryPage()
    {
        InitializeComponent();
    }
}
  • 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-24T04:57:18+00:00Added an answer on May 24, 2026 at 4:57 am

    Wild guess (without seeing your code), you’re generating the (dynamic) Panorama Items every time you refresh the main page, causing the extra load.

    Basically:

    • 1st display of mainpage: 3 dynamic panorama items.
    • 2nd display of mainpage: 6 dynamic panorama items.
    • 3rd display of mainpage: 9 dynamic panorama items.
    • …
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a huge web app that is having issues with memory leak in
I'm having an issue with the memory management in my application. I have an
I have the following application which replicates an issue I'm having in a larger
I am having trouble with modifying a php application to have pagination. My error
I have multiple layers in an application and i find myself having to bubble
I am having a problem using the Unity Application Block, I have created a
I'm having a strange problem here... I have an ASP.NET 3.5 application that has
Update: I probably confused memory usage issues with the UI sharing same thread as
I'm building a monitor app and am having some threading issues. I have, using
I have an application that sends messages to an external web service. I build

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.